Class GeneratorBlacklist<T>
java.lang.Object
org.aksw.commons.collections.generator.GeneratorForwarding<T>
org.aksw.commons.collections.generator.GeneratorBlacklist<T>
- All Implemented Interfaces:
Generator<T>
-
Field Summary
Fields inherited from class GeneratorForwarding
delegate -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorBlacklist(Generator<T> delegate, Predicate<? super T> isBlacklisted) -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones should independently yield the same sequences of items as the original objectstatic GeneratorBlacklist<String> create(String prefix, Collection<?> blacklist) static <T> GeneratorBlacklist<T> create(Generator<T> generator, Collection<?> blacklist) static <T> GeneratorBlacklist<T> current()next()Methods inherited from class GeneratorForwarding
getDelegateMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Generator
filterDrop, filterKeep, map
-
Constructor Details
-
GeneratorBlacklist
-
-
Method Details
-
clone
Description copied from interface:GeneratorClones should independently yield the same sequences of items as the original object -
next
-
current
-
create
public static <T> GeneratorBlacklist<T> create(Generator<T> generator, Predicate<? super T> isBlacklisted) -
create
-
create
-