List all values, perhaps with repetitions.
List all values, perhaps with repetitions. It is not guaranteed that the values will be repeated the correct number of times.
A stream of values.
List all values, with repetitions, excluding values from a given sequence (which can also contain repeated values).
List all values, with repetitions, excluding values from a given sequence (which can also contain repeated values). It is guaranteed that the values will be repeated the correct number of times.
A sequence of values that should be skipped while running the iterator.
A stream of values.
Implementation using
java.util.concurrent.ConcurrentLinkedQueue
.This is suitable for molecule value types that have a large number of possible values (so that a
Map
storage would be inefficient), or for cases where we do not need to group molecules by value (pipelined molecules).