Class LongPredicates
- java.lang.Object
-
- org.eclipse.collections.impl.block.factory.LongPredicates
-
public final class LongPredicates extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
LongPredicates.LongIsEven
private static class
LongPredicates.LongIsNegative
private static class
LongPredicates.LongIsOdd
private static class
LongPredicates.LongIsPositive
private static class
LongPredicates.LongIsZero
-
Field Summary
Fields Modifier and Type Field Description private static Predicates<java.lang.Long>
IS_EVEN
private static Predicates<java.lang.Long>
IS_NEGATIVE
private static Predicates<java.lang.Long>
IS_ODD
private static Predicates<java.lang.Long>
IS_POSITIVE
private static Predicates<java.lang.Long>
IS_ZERO
-
Constructor Summary
Constructors Modifier Constructor Description private
LongPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Predicates<T>
attributeIsEven(Function<? super T,java.lang.Long> function)
static <T> Predicates<T>
attributeIsNegative(Function<? super T,java.lang.Long> function)
static <T> Predicates<T>
attributeIsOdd(Function<? super T,java.lang.Long> function)
static <T> Predicates<T>
attributeIsPositive(Function<? super T,java.lang.Long> function)
static <T> Predicates<T>
attributeIsZero(Function<? super T,java.lang.Long> function)
static Predicates<java.lang.Long>
isEven()
static Predicates<java.lang.Long>
isNegative()
static Predicates<java.lang.Long>
isOdd()
static Predicates<java.lang.Long>
isPositive()
static Predicates<java.lang.Long>
isZero()
-
-
-
Field Detail
-
IS_ODD
private static final Predicates<java.lang.Long> IS_ODD
-
IS_EVEN
private static final Predicates<java.lang.Long> IS_EVEN
-
IS_POSITIVE
private static final Predicates<java.lang.Long> IS_POSITIVE
-
IS_NEGATIVE
private static final Predicates<java.lang.Long> IS_NEGATIVE
-
IS_ZERO
private static final Predicates<java.lang.Long> IS_ZERO
-
-
Method Detail
-
isOdd
public static Predicates<java.lang.Long> isOdd()
-
isEven
public static Predicates<java.lang.Long> isEven()
-
isPositive
public static Predicates<java.lang.Long> isPositive()
-
isNegative
public static Predicates<java.lang.Long> isNegative()
-
isZero
public static Predicates<java.lang.Long> isZero()
-
attributeIsEven
public static <T> Predicates<T> attributeIsEven(Function<? super T,java.lang.Long> function)
-
attributeIsOdd
public static <T> Predicates<T> attributeIsOdd(Function<? super T,java.lang.Long> function)
-
attributeIsZero
public static <T> Predicates<T> attributeIsZero(Function<? super T,java.lang.Long> function)
-
attributeIsPositive
public static <T> Predicates<T> attributeIsPositive(Function<? super T,java.lang.Long> function)
-
attributeIsNegative
public static <T> Predicates<T> attributeIsNegative(Function<? super T,java.lang.Long> function)
-
-