Class PartitionFastList<T>
- java.lang.Object
-
- org.eclipse.collections.impl.partition.list.PartitionFastList<T>
-
- All Implemented Interfaces:
PartitionList<T>
,PartitionMutableList<T>
,PartitionOrderedIterable<T>
,PartitionReversibleIterable<T>
,PartitionIterable<T>
,PartitionMutableCollection<T>
public class PartitionFastList<T> extends java.lang.Object implements PartitionMutableList<T>
-
-
Field Summary
Fields Modifier and Type Field Description private MutableList<T>
rejected
private MutableList<T>
selected
-
Constructor Summary
Constructors Constructor Description PartitionFastList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableList<T>
getRejected()
MutableList<T>
getSelected()
PartitionImmutableList<T>
toImmutable()
-
-
-
Field Detail
-
selected
private final MutableList<T> selected
-
rejected
private final MutableList<T> rejected
-
-
Method Detail
-
getSelected
public MutableList<T> getSelected()
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionList<T>
- Specified by:
getSelected
in interfacePartitionMutableCollection<T>
- Specified by:
getSelected
in interfacePartitionMutableList<T>
- Specified by:
getSelected
in interfacePartitionOrderedIterable<T>
- Specified by:
getSelected
in interfacePartitionReversibleIterable<T>
-
getRejected
public MutableList<T> getRejected()
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionList<T>
- Specified by:
getRejected
in interfacePartitionMutableCollection<T>
- Specified by:
getRejected
in interfacePartitionMutableList<T>
- Specified by:
getRejected
in interfacePartitionOrderedIterable<T>
- Specified by:
getRejected
in interfacePartitionReversibleIterable<T>
-
toImmutable
public PartitionImmutableList<T> toImmutable()
- Specified by:
toImmutable
in interfacePartitionMutableCollection<T>
- Specified by:
toImmutable
in interfacePartitionMutableList<T>
-
-