E - The type of elements contained in the underlying listI - The immutable data variantM - The mutable data variantpublic interface ImmutableListData<E,I extends ImmutableListData<E,I,M>,M extends ListData<E,M,I>> extends ImmutableDataManipulator<I,M>
ListData that can be queried, but not
 changed or mutated.| Modifier and Type | Method and Description | 
|---|---|
| List<E> | asList()Gets the  Listvalue itself from this manipulator. | 
| default boolean | contains(E element)Returns whether the underlying  Listcontains the providedelement. | 
| default Optional<E> | get(int index)Gets an element of type  Eby the providedindex. | 
| ImmutableListValue<E> | getListValue()Gets the  ImmutableListValueof thisImmutableListData. | 
asMutable, copy, with, withgetContentVersion, toContainerImmutableListValue<E> getListValue()
ImmutableListValue of this ImmutableListData.List<E> asList()
List value itself from this manipulator.ImmutableListValuedefault Optional<E> get(int index)
E by the provided index.index - The index to get the value atList.get(int)default boolean contains(E element)
List contains the provided
 element.element - The element to checkList.contains(Object)