Changed Methods |
boolean contains(Iterable<?, extends, Object>, Object)
|
Change in signature from (java.lang.Iterable extends java.lang.Object>, java.lang.Object ) to (java.lang.Iterable extends java.lang.Object>, Object ).
|
Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
Objects.equals(o, element)} would return {@code true}. |
int frequency(Iterable<?>, Object)
|
Change in signature from (java.lang.Iterable>, java.lang.Object ) to (java.lang.Iterable>, Object ).
|
Returns the number of elements in the specified iterable that equal the specified object. |
T find(Iterable<?, extends, T>, Predicate<?, super, T>, T)
|
Change in return type from (T extends Object ) to T .
Change in signature from (Iterable<? extends T>, Predicate<? super T>, T extends Object ) to (Iterable<? extends T>, Predicate<? super T>, T ).
|
Returns the first element in {@code iterable} that satisfies the given predicate, or {@code
defaultValue} if none found. |