Interface SequentialCollection<T>
-
- Type Parameters:
T-
- All Superinterfaces:
java.util.function.Consumer<T>,java.lang.Iterable<T>
- All Known Subinterfaces:
AdvancedComposition<C>,Composition<C>,CompositionComponent<C>,MutableCappedComposition<C>,MutableSequentialCollection<T>
- All Known Implementing Classes:
AbstractComposition,ArrayListComposition,BasePlaceComposition,ConstrainingPlaceCollection,InstrumentedAdvancedComposition,InstrumentedComposition,LightweightPlaceComposition,StatefulPlaceComposition
public interface SequentialCollection<T> extends java.util.function.Consumer<T>, java.lang.Iterable<T>Interface for a rudimentary sequential collection aka List. Used in compositions to preserve candidate acceptance order.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasCapacityLeft()intsize()java.util.List<T>toList()java.util.Set<T>toSet()
-