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