- All Superinterfaces:
- Collection<Q>,- Iterable<Q>,- List<Q>,- QOM.UnmodifiableCollection<Q>,- QueryPart,- SequencedCollection<Q>,- Serializable
- Enclosing class:
- QOM
public static interface QOM.UnmodifiableList<Q extends QueryPart>
extends QOM.UnmodifiableCollection<Q>, List<Q>
- 
Method SummaryModifier and TypeMethodDescriptiondefault <R> RCollect the contents of this list using aCollector.default @NotNull QOM.UnmodifiableList<Q> $concat(Collection<? extends Q> other) Concatenate a collection to this UnmodifiableList, returning a new UnmodifiableList from the combined data.default Q$first()Access the first element if available.default Q$last()Access the last element if available.default @NotNull QOM.UnmodifiableList<Q> $remove(int position) Return a new UnmodifiableList without the element at the argument position.default @NotNull QOM.UnmodifiableList<Q> Return a new UnmodifiableList without the$first()element.default @NotNull QOM.UnmodifiableList<Q> Return a newQOM.UnmodifiableListwithout the$last()element.default @NotNull QOM.UnmodifiableList<Q> Return a newQOM.UnmodifiableListwith a new, replaced value at the argument position.default @NotNull QOM.UnmodifiableList<Q> $setAll(int position, Collection<? extends Q> newValues) Return a newQOM.UnmodifiableListwith a new, replaced set of values at the argument position.Methods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Listadd, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
- 
Method Details- 
$collectCollect the contents of this list using aCollector.
- 
$concat@NotNull @CheckReturnValue default @NotNull QOM.UnmodifiableList<Q> $concat(Collection<? extends Q> other) Concatenate a collection to this UnmodifiableList, returning a new UnmodifiableList from the combined data.
- 
$removeReturn a new UnmodifiableList without the element at the argument position.
- 
$firstAccess the first element if available.
- 
$lastAccess the last element if available.
- 
$removeFirstReturn a new UnmodifiableList without the$first()element.
- 
$removeLastReturn a newQOM.UnmodifiableListwithout the$last()element.
- 
$setReturn a newQOM.UnmodifiableListwith a new, replaced value at the argument position.
- 
$setAll@NotNull @CheckReturnValue default @NotNull QOM.UnmodifiableList<Q> $setAll(int position, Collection<? extends Q> newValues) Return a newQOM.UnmodifiableListwith a new, replaced set of values at the argument position.
 
-