public final class IntegerPredicates extends Object
Modifier and Type | Method | Description |
---|---|---|
static <T> Predicates<T> |
attributeIsEven(Function<T,Integer> function) |
|
static <T> Predicates<T> |
attributeIsNegative(Function<T,Integer> function) |
|
static <T> Predicates<T> |
attributeIsOdd(Function<T,Integer> function) |
|
static <T> Predicates<T> |
attributeIsPositive(Function<T,Integer> function) |
|
static <T> Predicates<T> |
attributeIsZero(Function<T,Integer> function) |
|
static Predicates<Integer> |
isEven() |
|
static Predicates<Integer> |
isNegative() |
|
static Predicates<Integer> |
isOdd() |
|
static Predicates<Integer> |
isPositive() |
|
static Predicates<Integer> |
isZero() |
public static Predicates<Integer> isOdd()
public static Predicates<Integer> isEven()
public static Predicates<Integer> isPositive()
public static Predicates<Integer> isNegative()
public static Predicates<Integer> isZero()
public static <T> Predicates<T> attributeIsEven(Function<T,Integer> function)
public static <T> Predicates<T> attributeIsOdd(Function<T,Integer> function)
public static <T> Predicates<T> attributeIsZero(Function<T,Integer> function)
public static <T> Predicates<T> attributeIsPositive(Function<T,Integer> function)
public static <T> Predicates<T> attributeIsNegative(Function<T,Integer> function)
Copyright © 2004–2017. All rights reserved.