- All Implemented Interfaces:
Predicate<T>
public final class FlipFlopPredicate<T>
extends Object
implements Predicate<T>
Emulates flip-flop logic similar to two-dots flip-flop in Perl or Ruby.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
test
public boolean test(T value)
- Specified by:
test
in interface Predicate<T>