public final class IntPredicates extends Object
Modifier and Type | Method and Description |
---|---|
static IntPredicate |
alwaysFalse() |
static IntPredicate |
alwaysTrue() |
static IntPredicate |
and(IntPredicate one,
IntPredicate two) |
static IntPredicate |
equal(int expected) |
static IntPredicate |
greaterThan(int expected) |
static IntPredicate |
isEven() |
static IntPredicate |
isOdd() |
static IntPredicate |
lessThan(int expected) |
static IntPredicate |
not(IntPredicate negate) |
static IntPredicate |
or(IntPredicate one,
IntPredicate two) |
public static IntPredicate equal(int expected)
public static IntPredicate lessThan(int expected)
public static IntPredicate greaterThan(int expected)
public static IntPredicate isEven()
public static IntPredicate isOdd()
public static IntPredicate alwaysTrue()
public static IntPredicate alwaysFalse()
public static IntPredicate and(IntPredicate one, IntPredicate two)
public static IntPredicate or(IntPredicate one, IntPredicate two)
public static IntPredicate not(IntPredicate negate)
Copyright © 2004–2016. All rights reserved.