public final class Offset extends Object implements NullaryPredicate, Predicate<Object>, BinaryPredicate<Object,Object>
false
the first n times it is invoked, and
true
thereafter.Constructor and Description |
---|
Offset(int count)
Create a new Offset.
|
public Offset(int count)
count
- offsetpublic boolean test()
test
in interface NullaryPredicate
public boolean test(Object a, Object b)
test
in interface BinaryPredicate<Object,Object>
a
- the L element of the ordered pair of argumentsb
- the R element of the ordered pair of argumentsCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.