Class ShortPredicates
java.lang.Object
org.eclipse.collections.impl.block.factory.primitive.ShortPredicates
Provides a set of common predicates for short values.
This file was automatically generated from template file primitivePredicates.stg.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
private static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ShortPredicate
private static final ShortPredicate
private static final ShortPredicates.ShortIsEvenPredicate
private static final ShortPredicates.ShortIsOddPredicate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShortPredicate
static ShortPredicate
static ShortPredicate
and
(ShortPredicate one, ShortPredicate two) static ShortPredicate
equal
(short expected) static ShortPredicate
greaterThan
(short expected) static ShortPredicate
isEven()
static ShortPredicate
isOdd()
static ShortPredicate
lessThan
(short expected) static ShortPredicate
not
(ShortPredicate negate) static ShortPredicate
or
(ShortPredicate one, ShortPredicate two)
-
Field Details
-
IS_EVEN
-
IS_ODD
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
-
Constructor Details
-
ShortPredicates
private ShortPredicates()
-
-
Method Details
-
equal
-
lessThan
-
greaterThan
-
isEven
-
isOdd
-
alwaysTrue
-
alwaysFalse
-
and
-
or
-
not
-