| Modifier and Type | Method and Description |
|---|---|
| public default FixedSizeList | sortThis(Comparator<? super T> comparator)
Overrides default org. Sorts the internal data structure of this list and returns the list itself as a convenience. |
| public default FixedSizeList | sortThis()
Overrides default org. Sorts the internal data structure of this list and returns the list itself as a convenience. |
| public FixedSizeList | tap(Procedure<? super T> procedure)
Redeclares org. Redeclares as abstract: org. Executes the Procedure for each element in the iterable and returns |
| public FixedSizeList | toReversed()
Redeclares as abstract: org. Returns a new MutableList in reverse order. |
| public MutableList | with(T element)
Redeclares org. Redeclares as abstract: org. This method allows fixed size collections the ability to add elements to their existing elements. |
| public MutableList | withAll(Iterable<? extends T> elements)
Redeclares org. Redeclares as abstract: org. This method allows fixed size collections the ability to add multiple elements to their existing elements. |
| public MutableList | without(T element)
Redeclares org. Redeclares as abstract: org. This method allows fixed size collections the ability to remove elements from their existing elements. |
| public MutableList | withoutAll(Iterable<? extends T> elements)
Redeclares org. Redeclares as abstract: org. This method allows fixed size collections the ability to remove multiple elements from their existing elements. |
| sortThis | back to summary |
|---|---|
| public default FixedSizeList Overrides default org. Doc from org. Sorts the internal data structure of this list and returns the list itself as a convenience.
| |
| sortThis | back to summary |
|---|---|
| public default FixedSizeList Overrides default org. Doc from org. Sorts the internal data structure of this list and returns the list itself as a convenience.
| |
| tap | back to summary |
|---|---|
| public FixedSizeList Redeclares org. Redeclares as abstract: org. Doc from org. Executes the Procedure for each element in the iterable and returns Example using a Java 8 lambda expression:
RichIterable<Person> tapped =
people.tap(person -> LOGGER.info(person.getName()));
| |
| toReversed | back to summary |
|---|---|
| public FixedSizeList Redeclares as abstract: org. Doc from org. Returns a new MutableList in reverse order.
| |
| with | back to summary |
|---|---|
| public MutableList Redeclares org. Redeclares as abstract: org. Doc from org. This method allows fixed size collections the ability to add elements to their existing elements. A new instance
of
MutableCollection<String> list;
list = list.with("1");
list = list.with("2");
return list;
| |
| withAll | back to summary |
|---|---|
| public MutableList Redeclares org. Redeclares as abstract: org. Doc from org. This method allows fixed size collections the ability to add multiple elements to their existing elements. A new
instance of
MutableCollection<String> list;
list = list.withAll(FastList.newListWith("1", "2"));
return list;
| |
| without | back to summary |
|---|---|
| public MutableList Redeclares org. Redeclares as abstract: org. Doc from org. This method allows fixed size collections the ability to remove elements from their existing elements. A new
instance of
MutableCollection<String> list;
list = list.without("1");
list = list.without("2");
return list;
| |
| withoutAll | back to summary |
|---|---|
| public MutableList Redeclares org. Redeclares as abstract: org. Doc from org. This method allows fixed size collections the ability to remove multiple elements from their existing elements.
A new instance of
MutableCollection<String> list;
list = list.withoutAll(FastList.newListWith("1", "2"));
return list;
| |