public static Optional<Notification> tryFind(@Nonnull final Iterable<Notification> notifications,final long id){
  final com.google.common.base.Optional<Notification> result=Iterables.tryFind(notifications,null);
  if (result.isPresent()) {
    return Optional.of(result.get());
  }
  return Optional.empty();
}

public static Optional < Notification > tryFind ( @ Nonnull final Iterable < Notification > notifications , final long id ) { final com . google . common . base . Optional < Notification > result = Iterables . tryFind ( notifications , null ) ; if ( result . isPresent ( ) ) { return Optional . of ( result . get ( ) ) ; } return Optional . empty ( ) ; }
return the parent notification that matches the given id or is the parent of a child notification .
