boolean contains(Iterable<?>, Object)
|
Change in signature from (java.lang.Iterable>, Object ) to (java.lang.Iterable>, java.lang.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>, Object ) to (java.lang.Iterable>, java.lang.Object ).
|
Returns the number of elements in the specified iterable that equal the specified object. |