public final class Iterables
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Predicates.Predicate1<java.lang.Iterable> |
contains(java.lang.Object _item)
Predicate returning true when the function argument contains an item
|
static Predicates.Predicate1<java.lang.Iterable> |
containsAll(java.lang.Iterable _items)
Predicate returning true when the function argument contains all items
|
static Predicates.Predicate1<java.lang.Iterable> |
containsAny(java.lang.Iterable _items)
Predicate returning true when the function argument contains any of the given items
|
static Predicates.Predicate1<java.lang.Iterable> |
equal(java.lang.Iterable _value)
Predicate returning true when the function argument is equal to another array
|
static Predicates.Predicate1<java.lang.Iterable> |
isEmpty()
Predicate returning true when the function argument is empty
|
static Predicates.Predicate1<java.lang.Iterable> |
isNotEmpty()
Predicate returning true when the function argument is not empty
|
static Predicates.Predicate1<java.lang.Iterable> |
lengthEquals(int _len)
Predicate returning true when the length equals to specified value
|
static Predicates.Predicate1<java.lang.Iterable> |
lengthGreaterThan(int _len)
Predicate returning true when the length is greater than a specified value
|
static Predicates.Predicate1<java.lang.Iterable> |
lengthGreaterThanOrEqual(int _len)
Predicate returning true when the length is greater than or equal to a specified value
|
static Predicates.Predicate1<java.lang.Iterable> |
lengthLessThan(int _len)
Predicate returning true when the length is less than a specified value
|
static Predicates.Predicate1<java.lang.Iterable> |
lengthLessThanOrEqual(int _len)
Predicate returning true when the length is less than or equal to a specified value
|
static Predicates.Predicate1<java.lang.Iterable> |
lengthNotEqual(int _len)
Predicate returning true when the length is not equal to a specified value
|
static Predicates.Predicate1<java.lang.Iterable> |
notContains(java.lang.Object _item)
Predicate returning true when the function argument does not contain an item
|
static Predicates.Predicate1<java.lang.Iterable> |
notContainsAll(java.lang.Iterable _items)
Predicate returning true when the function argument does not contain all items
|
static Predicates.Predicate1<java.lang.Iterable> |
notContainsAny(java.lang.Iterable _items)
Predicate returning true when the function argument does not contain any of the given items
|
static Predicates.Predicate1<java.lang.Iterable> |
notEqual(java.lang.Iterable _value)
Predicate returning true when the function argument is not equal to another array
|
public static Predicates.Predicate1<java.lang.Iterable> contains(java.lang.Object _item)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> containsAll(java.lang.Iterable _items)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> containsAny(java.lang.Iterable _items)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> equal(java.lang.Iterable _value)
public static Predicates.Predicate1<java.lang.Iterable> isEmpty()
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> isNotEmpty()
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> lengthEquals(int _len)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> lengthGreaterThan(int _len)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> lengthGreaterThanOrEqual(int _len)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> lengthLessThan(int _len)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> lengthLessThanOrEqual(int _len)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> lengthNotEqual(int _len)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> notEqual(java.lang.Iterable _value)
public static Predicates.Predicate1<java.lang.Iterable> notContains(java.lang.Object _item)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> notContainsAll(java.lang.Iterable _items)
java.lang.NullPointerException
- When an argument is nullpublic static Predicates.Predicate1<java.lang.Iterable> notContainsAny(java.lang.Iterable _items)
java.lang.NullPointerException
- When an argument is null