Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VCollections – Release 1
Interface org.violetlib.collections.IList
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.collections

Interface IList<V>

  • Type Parameters:
    V - The type of the elements.
    All Superinterfaces:
    ICollection<V>, IIterable<V>, Iterable<V>
    public interface IList<V> extends ICollection<V>, Iterable<V>
    An immutable ordered collection of elements. Null elements are not permitted.
    • Fields 
      Modifier and Type Field and Description
      Ordinary member indicator NO_DUPLICATES Reveal DetailHide Detail
      static Option NO_DUPLICATES
       
      static final Option NO_DUPLICATES
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator builder Reveal DetailHide Detail
      static <V> ListBuilder<V> builder()
      Return a new list builder that uses a general purpose representation for the created lists.
      static <V> ListBuilder<V> builder()
      Return a new list builder that uses a general purpose representation for the created lists.
      Ordinary member indicator builder Reveal DetailHide Detail
      static <V> ListBuilder<V> builder(ListUsage usage)
      Return a new list builder that constructs lists supporting the specified usage.
      static <V> ListBuilder<V> builder(ListUsage usage)
      Return a new list builder that constructs lists supporting the specified usage.
      Parameters:
      usage - The usage.
      Returns:
      the list builder.
      Ordinary member indicator builder Reveal DetailHide Detail
      static <V> ListBuilder<V> builder(Option option)
      Return a new list builder.
      static <V> ListBuilder<V> builder(Option option)
      Return a new list builder.
      Returns:
      the list builder.
      Inherited member indicator cast Reveal DetailHide Detail
      static <V> ICollection<V> cast(ICollection<?> o)
      Cast a collection to a specific type.
      static <V> ICollection<V> cast(ICollection<?> o)
      Description copied from interface: ICollection
      Cast a collection to a specific type. This method is no more reliable than an explicit type cast, but it prevents the warning.
      Ordinary member indicator cast Reveal DetailHide Detail
      static <V> IList<V> cast(IList<?> o)
      Cast a list to a specific type.
      static <V> IList<V> cast(IList<?> o)
      Cast a list to a specific type. This method is no more reliable than an explicit type cast, but it prevents the warning.
      Ordinary member indicator castNullable Reveal DetailHide Detail
      static <V> IList<V> castNullable(IList<?> o)
      Cast a list to a specific type.
      static <V> IList<V> castNullable(IList<?> o)
      Cast a list to a specific type. This method is no more reliable than an explicit type cast, but it prevents the warning.
      Ordinary member indicator collector Reveal DetailHide Detail
      static <V> Collector<V,ListBuilder<V>,IList<V>> collector()
      Return a new list builder that uses a general purpose representation for the created lists.
      static <V> Collector<V,ListBuilder<V>,IList<V>> collector()
      Return a new list builder that uses a general purpose representation for the created lists.
      Ordinary member indicator collector Reveal DetailHide Detail
      static <V> Collector<V,ListBuilder<V>,IList<V>> collector(ListUsage usage)
      Return a new list builder that constructs lists supporting the specified usage.
      static <V> Collector<V,ListBuilder<V>,IList<V>> collector(ListUsage usage)
      Return a new list builder that constructs lists supporting the specified usage.
      Parameters:
      usage - The usage.
      Returns:
      the list builder.
      Ordinary member indicator collector Reveal DetailHide Detail
      static <V> Collector<V,ListBuilder<V>,IList<V>> collector(Option option)
      Return a new list builder.
      static <V> Collector<V,ListBuilder<V>,IList<V>> collector(Option option)
      Return a new list builder.
      Returns:
      the list builder.
      Inherited member indicator concatenate Reveal DetailHide Detail
      static <V> ICollection<V> concatenate(ICollection<? extends V>... sources)
       
      @SafeVarargs static <V> ICollection<V> concatenate(ICollection<? extends V>... sources)
      Inherited member indicator concatenate Reveal DetailHide Detail
      static <V> ICollection<V> concatenate(IList<? extends ICollection<V>> sources)
       
      static <V> ICollection<V> concatenate(IList<? extends ICollection<V>> sources)
      Inherited member indicator concatenateIterators Reveal DetailHide Detail
      static <V> IIterator<V> concatenateIterators(IList<? extends IIterator<V>> sources)
       
      static <V> IIterator<V> concatenateIterators(IList<? extends IIterator<V>> sources)
      Ordinary member indicator create Reveal DetailHide Detail
      static IList<Double> create(double[] values)
      Return a list containing the specified elements.
      static IList<Double> create(double[] values)
      Return a list containing the specified elements.
      Parameters:
      values - The elements for the list.
      Returns:
      a list containing the specified elements.
      Ordinary member indicator create Reveal DetailHide Detail
      static IList<Float> create(float[] values)
      Return a list containing the specified elements.
      static IList<Float> create(float[] values)
      Return a list containing the specified elements.
      Parameters:
      values - The elements for the list.
      Returns:
      a list containing the specified elements.
      Ordinary member indicator create Reveal DetailHide Detail
      static IList<Integer> create(int[] values)
      Return a list containing the specified elements.
      static IList<Integer> create(int[] values)
      Return a list containing the specified elements.
      Parameters:
      values - The elements for the list.
      Returns:
      a list containing the specified elements.
      Ordinary member indicator create Reveal DetailHide Detail
      static <V> IList<V> create(Iterable<? extends V> it)
      Return a list containing the specified elements.
      static <V> IList<V> create(Iterable<? extends V> it) throws IllegalArgumentException
      Return a list containing the specified elements.
      Parameters:
      it - An iterable sequence of elements for the list.
      Returns:
      a list containing the specified elements.
      Throws:
      IllegalArgumentException - if the iterator returns a null element.
      Ordinary member indicator create Reveal DetailHide Detail
      static <V> IList<V> create(ListUsage usage, Iterable<? extends V> it)
      Return a list containing the specified elements, optimized for the specified usage.
      static <V> IList<V> create(ListUsage usage, Iterable<? extends V> it) throws IllegalArgumentException
      Return a list containing the specified elements, optimized for the specified usage.
      Parameters:
      usage - The usage.
      it - An iterable sequence of elements for the list.
      Returns:
      a list containing the specified elements.
      Throws:
      IllegalArgumentException - if the sequence contains a null element.
      Ordinary member indicator create Reveal DetailHide Detail
      static IList<Long> create(long[] values)
      Return a list containing the specified elements.
      static IList<Long> create(long[] values)
      Return a list containing the specified elements.
      Parameters:
      values - The elements for the list.
      Returns:
      a list containing the specified elements.
      Ordinary member indicator create Reveal DetailHide Detail
      static <V> IList<V> create(V[] it)
      Return a list containing the specified elements.
      static <V> IList<V> create(V[] it) throws IllegalArgumentException
      Return a list containing the specified elements.
      Parameters:
      it - An array containing the elements for the list.
      Returns:
      a list containing the specified elements.
      Throws:
      IllegalArgumentException - if the sequence contains a null element.
      Ordinary member indicator createOptional Reveal DetailHide Detail
      static <V> IList<V> createOptional(Iterable<? extends V> it)
      Return a list containing the specified elements.
      static <V> IList<V> createOptional(Iterable<? extends V> it) throws IllegalArgumentException
      Return a list containing the specified elements.
      Parameters:
      it - An iterable sequence of elements for the list. Null values are ignored.
      Returns:
      a list containing the specified elements.
      Throws:
      IllegalArgumentException
      Ordinary member indicator createOptional Reveal DetailHide Detail
      static <V> IList<V> createOptional(V[] it)
      Return a list containing the specified elements.
      static <V> IList<V> createOptional(V[] it) throws IllegalArgumentException
      Return a list containing the specified elements.
      Parameters:
      it - An array containing the elements for the list. Null values are ignored.
      Returns:
      a list containing the specified elements.
      Throws:
      IllegalArgumentException
      Ordinary member indicator empty Reveal DetailHide Detail
      static <V> IList<V> empty()
      Return a list containing no elements.
      static <V> IList<V> empty()
      Return a list containing no elements. If elements are added to the end of this list, the returned list will be optimized for adding more elements at the end. If elements are added to the beginning of this list, the returned list will be optimized for adding more elements at the beginning.
      Ordinary member indicator empty Reveal DetailHide Detail
      static <V> IList<V> empty(ListUsage usage)
      Return a list containing no elements.
      static <V> IList<V> empty(ListUsage usage)
      Return a list containing no elements.
      Parameters:
      usage - An expected usage. If elements are added to list, the returned list will support the specified usage..
      Inherited member indicator emptyIterator Reveal DetailHide Detail
      static <V> IIterator<V> emptyIterator()
       
      static <V> IIterator<V> emptyIterator()
      Inherited member indicator from Reveal DetailHide Detail
      static <T> IIterable<T> from(Iterable<T> it)
      Create an IIterable from an Iterable.
      static <T> IIterable<T> from(Iterable<T> it)
      Description copied from interface: IIterable
      Create an IIterable from an Iterable. The iterators produced by the returned IIterable will throw a runtime exception if an iterator produced by the Iterable returns a null value.
      Parameters:
      it - The source iterable.
      Ordinary member indicator of Reveal DetailHide Detail
      static <V> IList<V> of(V... elements)
      Return a list containing specified elements.
      @SafeVarargs static <V> IList<V> of(V... elements)
      Return a list containing specified elements.
      Parameters:
      elements - The elements.
      Returns:
      a list containing the specified elements.
      Ordinary member indicator of Reveal DetailHide Detail
      static <V> IList<V> of(V e)
      Return a list containing a single element.
      static <V> IList<V> of(V e)
      Return a list containing a single element.
      Parameters:
      e - The element.
      Returns:
      a list containing the specified element.
      Ordinary member indicator ofOptional Reveal DetailHide Detail
      static <V> IList<V> ofOptional(V... elements)
      Return a list containing specified elements.
      @SafeVarargs static <V> IList<V> ofOptional(V... elements)
      Return a list containing specified elements.
      Parameters:
      elements - The elements. Null values are ignored.
      Returns:
      a list containing the specified elements.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator appending Reveal DetailHide Detail
      abstract IList<V> appending(V value)
      Return a list with an additional value added at the end.
      IList<V> appending(V value)
      Return a list with an additional value added at the end.
      Parameters:
      value - The value to be appended.
      Returns:
      A list with the values from this list, plus the specified value.
      Ordinary member indicator appendingAll Reveal DetailHide Detail
      abstract IList<V> appendingAll(Iterable<? extends V> values)
      Return a list with additional values added at the end.
      IList<V> appendingAll(Iterable<? extends V> values) throws IllegalArgumentException
      Return a list with additional values added at the end.
      Parameters:
      values - An iterator providing the values to be appended.
      Returns:
      A list with the values from this list, plus the specified values.
      Throws:
      IllegalArgumentException - if the iterator returns a null element.
      Ordinary member indicator contains Reveal DetailHide Detail
      boolean contains(Object target)
      Return true if and only if the specified value is an element of the list.
      boolean contains(Object target)
      Return true if and only if the specified value is an element of the list.
      Specified by:
      contains in interface ICollection<V>
      Parameters:
      target - The value to find in the list.
      Returns:
      true if and only if target is an element of the list.
      Ordinary member indicator find Reveal DetailHide Detail
      <R> R find(FindVisitor<V,R> visitor)
      Visit the elements of the list from the first element to the last element until the visitor returns a non-null result.
      <R> R find(FindVisitor<V,R> visitor)
      Visit the elements of the list from the first element to the last element until the visitor returns a non-null result.
      Specified by:
      find in interface ICollection<V>
      Parameters:
      visitor - The visitor to call on the list elements.
      Returns:
      the first non-null result returned by the visitor, or null if none.
      Ordinary member indicator find Reveal DetailHide Detail
      <R> R find(FindVisitor<V,R> visitor, R defaultValue)
      Visit each element of the list from the first element to the last element until the visitor returns a non-null result.
      <R> R find(FindVisitor<V,R> visitor, R defaultValue)
      Visit each element of the list from the first element to the last element until the visitor returns a non-null result.
      Specified by:
      find in interface ICollection<V>
      Parameters:
      visitor - The visitor to call on the list elements.
      defaultValue - The value to return if the visitor never returns a non-null result.
      Returns:
      the first non-null result returned by the visitor, or defaultValue if none.
      Ordinary member indicator first Reveal DetailHide Detail
      V first()
      Return the first element of the list.
      V first() throws NoSuchElementException
      Return the first element of the list.
      Returns:
      the first element of the list.
      Throws:
      NoSuchElementException - if the list is empty.
      Inherited member indicator forEach Reveal DetailHide Detail
      void forEach(Consumer<? super T> arg0)
       
      void forEach(Consumer<? super T> arg0)
      Ordinary member indicator get Reveal DetailHide Detail
      V get(int index)
      Return the element with the specified index.
      V get(int index) throws IndexOutOfBoundsException
      Return the element with the specified index.
      Parameters:
      index - The index.
      Returns:
      the designated element.
      Throws:
      IndexOutOfBoundsException - if there is no element with the specified index.
      Ordinary member indicator getElements Reveal DetailHide Detail
      abstract IList<V> getElements(int index, int count)
      Return the elements with consecutive indexes.
      IList<V> getElements(int index, int count) throws IndexOutOfBoundsException
      Return the elements with consecutive indexes.
      Parameters:
      index - The index of the first element to return.
      count - The number of elements to return.
      Returns:
      the designated elements (empty if count is zero).
      Throws:
      IndexOutOfBoundsException - if count is negative or the specified index range identifies elements that are not present.
      Ordinary member indicator getOptional Reveal DetailHide Detail
      V getOptional(int index)
      Return the element with the specified index.
      V getOptional(int index)
      Return the element with the specified index.
      Parameters:
      index - The index.
      Returns:
      the designated element, or null if there is no element with that index.
      Ordinary member indicator indexOf Reveal DetailHide Detail
      int indexOf(Object element)
      Return the index of the specified element in the list.
      int indexOf(Object element)
      Return the index of the specified element in the list.
      Parameters:
      element - The element to find.
      Returns:
      the index of element in the list, or -1 if element is not an element of the list.
      Ordinary member indicator inserting Reveal DetailHide Detail
      IList<V> inserting(int position, V value)
      Return a list with a new value inserted at the specified position.
      IList<V> inserting(int position, V value) throws IndexOutOfBoundsException
      Return a list with a new value inserted at the specified position.
      Parameters:
      position - The position at which the value is inserted.
      value - The value to insert as an element of the returned list.
      Throws:
      IndexOutOfBoundsException - if position is not a valid position.
      Ordinary member indicator insertingAll Reveal DetailHide Detail
      IList<V> insertingAll(int position, Iterable<? extends V> values)
      Return a list with new values inserted at the specified position.
      IList<V> insertingAll(int position, Iterable<? extends V> values) throws IndexOutOfBoundsException, IllegalArgumentException
      Return a list with new values inserted at the specified position.
      Parameters:
      position - The position at which the values are inserted.
      values - The values to insert as elements of the returned list.
      Throws:
      IndexOutOfBoundsException - if position is not a valid position.
      IllegalArgumentException - if the iterator returns a null element.
      Ordinary member indicator isEmpty Reveal DetailHide Detail
      abstract boolean isEmpty()
      Return true if and only if there are no elements in the list.
      boolean isEmpty()
      Return true if and only if there are no elements in the list.
      Specified by:
      isEmpty in interface ICollection<V>
      Inherited member indicator iterator Reveal DetailHide Detail
      abstract IIterator<T> iterator()
      Returns an iterator over non-null elements of type T.
      IIterator<T> iterator()
      Description copied from interface: IIterable
      Returns an iterator over non-null elements of type T.
      Specified by:
      iterator in interface Iterable<T>
      Returns:
      an Iterator.
      Ordinary member indicator last Reveal DetailHide Detail
      V last()
      Return the last element of the list.
      V last() throws NoSuchElementException
      Return the last element of the list.
      Returns:
      the last element of the list.
      Throws:
      NoSuchElementException - if the list is empty.
      Ordinary member indicator map Reveal DetailHide Detail
      abstract <R> IList<R> map(Function<V,R> mapper)
      Return a list containing the result of applying a mapper to each list element.
      <R> IList<R> map(Function<V,R> mapper)
      Return a list containing the result of applying a mapper to each list element.
      Parameters:
      mapper - Maps elements of the list to elements of the result. The mapper must not return null.
      Returns:
      a list containing the results of the mapper calls.
      Ordinary member indicator mapFilter Reveal DetailHide Detail
      abstract <R> IList<R> mapFilter(Function<V,R> mapper)
      Return a list containing the result of applying a mapper to each list element.
      <R> IList<R> mapFilter(Function<V,R> mapper)
      Return a list containing the result of applying a mapper to each list element.
      Parameters:
      mapper - Maps elements of the list to elements of the result. If the mapper returns null, no element is added to the result.
      Returns:
      a list containing the non-null results of the mapper calls.
      Ordinary member indicator onReverse Reveal DetailHide Detail
      abstract IList<V> onReverse()
      Return a list containing the same elements as this list, but in the reverse order.
      IList<V> onReverse()
      Return a list containing the same elements as this list, but in the reverse order.

      The returned list may be a view on this list rather than a copy of this list. A view can provide much better performance by avoiding the need to copy the list when the result is used only to perform traversals.

      Ordinary member indicator onSlice Reveal DetailHide Detail
      IList<V> onSlice(int start, int end)
      Return a list containing a designated subsequence of the elements of this list.
      IList<V> onSlice(int start, int end) throws IndexOutOfBoundsException
      Return a list containing a designated subsequence of the elements of this list. The returned list is called a slice of this list.

      The slice may be a view on this list rather than a copy of this list. A view can provide much better performance by avoiding the need to copy the list, especially when the slice is used to perform traversals. The implication is that the slice may hold a strong reference to this list, preventing this list from being reclaimed before the slice. Using this method is most appropriate when it is used only to perform a single operation and is not retained.

      Parameters:
      start - The index of the first element to be included in the slice.
      end - One greater than the index of the last element to be included in the slice. If this parameter is greater than the size of this list, it is interpreted as if it were specified as the size of this list.
      Throws:
      IndexOutOfBoundsException - if start is negative or greater than the size of this list or if end is less than start.
      Ordinary member indicator optimize Reveal DetailHide Detail
      abstract IList<V> optimize(ListUsage usage)
      Return an equivalent list whose representation efficiently supports the specified usage.
      IList<V> optimize(ListUsage usage)
      Return an equivalent list whose representation efficiently supports the specified usage.
      Ordinary member indicator optimizeForForwardTraversal Reveal DetailHide Detail
      abstract IList<V> optimizeForForwardTraversal()
      Return an equivalent list whose representation efficiently supports forward traversal.
      IList<V> optimizeForForwardTraversal()
      Return an equivalent list whose representation efficiently supports forward traversal.
      Ordinary member indicator optimizeForIndexing Reveal DetailHide Detail
      abstract IList<V> optimizeForIndexing()
      Return an equivalent list whose representation efficiently supports indexed access to list elements.
      IList<V> optimizeForIndexing()
      Return an equivalent list whose representation efficiently supports indexed access to list elements.
      Ordinary member indicator optionalFirst Reveal DetailHide Detail
      V optionalFirst()
      Return the first element of the list.
      V optionalFirst()
      Return the first element of the list.
      Returns:
      the first element of the list, or null if the list is empty.
      Ordinary member indicator optionalLast Reveal DetailHide Detail
      V optionalLast()
      Return the last element of the list.
      V optionalLast()
      Return the last element of the list.
      Returns:
      the last element of the list, or null if the list is empty.
      Ordinary member indicator prepending Reveal DetailHide Detail
      abstract IList<V> prepending(V value)
      Return a list with an additional value added at the beginning.
      IList<V> prepending(V value)
      Return a list with an additional value added at the beginning.
      Parameters:
      value - The value to be added.
      Returns:
      A list with the specified value, plus the values from this list.
      Ordinary member indicator removing Reveal DetailHide Detail
      abstract IList<V> removing(int index, int count)
      Return a list with consecutive elements removed.
      IList<V> removing(int index, int count) throws IndexOutOfBoundsException
      Return a list with consecutive elements removed.
      Parameters:
      index - The index of the first element to remove.
      count - The number of elements to remove.
      Returns:
      A list with the values from this list, in the same order, except the removed elements.
      Throws:
      IndexOutOfBoundsException - if index does not identify an existing element or if count is less than zero. No exception is thrown if count exceeds the available elements or if count is zero.
      Ordinary member indicator removing Reveal DetailHide Detail
      abstract IList<V> removing(Object value)
      Return this list with a value removed.
      IList<V> removing(Object value)
      Return this list with a value removed.
      Parameters:
      value - The value to be removed (if present).
      Returns:
      A list with the values from this list, in the same order, but exclusing all instances of the specified value.
      Ordinary member indicator removingAll Reveal DetailHide Detail
      IList<V> removingAll(ISet<?> values)
      Return a list with the values from this list, in the same order, except that all instances of the specified values are excluded.
      IList<V> removingAll(ISet<?> values)
      Return a list with the values from this list, in the same order, except that all instances of the specified values are excluded.
      Parameters:
      values - The values to be excluded in the result.
      Returns:
      A list with the values from this list, except the specified values.
      Ordinary member indicator removingFirst Reveal DetailHide Detail
      IList<V> removingFirst()
      Return this list with the first element removed.
      IList<V> removingFirst()
      Return this list with the first element removed. If this list is empty, the empty list is returned.
      Returns:
      A list with the values from this list, except the first element.
      Ordinary member indicator removingLast Reveal DetailHide Detail
      IList<V> removingLast()
      Return this list with the last element removed.
      IList<V> removingLast()
      Return this list with the last element removed. If this list is empty, the empty list is returned.
      Returns:
      A list with the values from this list, except the last element.
      Ordinary member indicator replacing Reveal DetailHide Detail
      abstract IList<V> replacing(int index, V value)
      Return a list with a new value for the specified element.
      IList<V> replacing(int index, V value) throws IndexOutOfBoundsException
      Return a list with a new value for the specified element.
      Throws:
      IndexOutOfBoundsException - if this list does not contain an element with the specified index.
      Ordinary member indicator replacingAll Reveal DetailHide Detail
      abstract IList<V> replacingAll(int index, int count, Iterable<? extends V> values)
      Return a list with new values replacing the specified elements.
      IList<V> replacingAll(int index, int count, Iterable<? extends V> values) throws IndexOutOfBoundsException, IllegalArgumentException
      Return a list with new values replacing the specified elements.
      Parameters:
      index - The position of the first element to replace.
      count - The number of elements to replace. With a count of zero this operation is equivalent to insertingAll(int, java.lang.Iterable<? extends V>).
      values - The values to replace the designated elements.
      Throws:
      IndexOutOfBoundsException - if index does not identify an existing element or if count is less than zero. No exception is thrown if count exceeds the available elements or if count is zero.
      IllegalArgumentException - if the iterator returns a null element.
      Ordinary member indicator reverse Reveal DetailHide Detail
      IList<V> reverse()
      Return a list containing the same elements as this list, but in the reverse order.
      IList<V> reverse()
      Return a list containing the same elements as this list, but in the reverse order.
      Ordinary member indicator size Reveal DetailHide Detail
      abstract int size()
      Return the number of elements in the list.
      int size()
      Return the number of elements in the list.
      Specified by:
      size in interface ICollection<V>
      Ordinary member indicator sort Reveal DetailHide Detail
      IList<V> sort()
      Return a list containing the same elements as this list, but sorted using the natural comparator.
      IList<V> sort()
      Return a list containing the same elements as this list, but sorted using the natural comparator.
      Specified by:
      sort in interface ICollection<V>
      Returns:
      the sorted list.
      Ordinary member indicator sort Reveal DetailHide Detail
      abstract IList<V> sort(Comparator<? super V> c)
      Return a list containing the same elements as this list, but sorted using the specified comparator.
      IList<V> sort(Comparator<? super V> c)
      Return a list containing the same elements as this list, but sorted using the specified comparator.
      Specified by:
      sort in interface ICollection<V>
      Parameters:
      c - The comparator used to determine the order of the elements in the returned list.
      Returns:
      the sorted list.
      Ordinary member indicator spliterator Reveal DetailHide Detail
      Spliterator<V> spliterator()
      Return a Spliterator that yields the elements of the collection.
      Spliterator<V> spliterator()
      Description copied from interface: ICollection
      Return a Spliterator that yields the elements of the collection.
      Specified by:
      spliterator in interface ICollection<V>
      Specified by:
      spliterator in interface Iterable<V>
      Inherited member indicator stream Reveal DetailHide Detail
      Stream<V> stream()
      Return a stream of the elements of the collection.
      Stream<V> stream()
      Description copied from interface: ICollection
      Return a stream of the elements of the collection.
      Inherited member indicator toJavaArray Reveal DetailHide Detail
      <E> E[] toJavaArray(E[] template)
      Return a new Java array containing the elements of this collection.
      <E> E[] toJavaArray(E[] template)
      Description copied from interface: ICollection
      Return a new Java array containing the elements of this collection.
      Ordinary member indicator toJavaList Reveal DetailHide Detail
      List<V> toJavaList()
      Return a new Java list containing the elements of this list, in the same order.
      List<V> toJavaList()
      Return a new Java list containing the elements of this list, in the same order.
      Specified by:
      toJavaList in interface ICollection<V>
      Ordinary member indicator toJavaSet Reveal DetailHide Detail
      Set<V> toJavaSet()
      Return a new Java set containing the elements of this collection.
      Set<V> toJavaSet()
      Return a new Java set containing the elements of this collection.
      Specified by:
      toJavaSet in interface ICollection<V>
      Inherited member indicator toJavaUnmodifiableList Reveal DetailHide Detail
      List<V> toJavaUnmodifiableList()
      Return a new unmodifiable Java list containing the elements of this collection, in the same order (if the collection defines an order).
      List<V> toJavaUnmodifiableList()
      Description copied from interface: ICollection
      Return a new unmodifiable Java list containing the elements of this collection, in the same order (if the collection defines an order).
      Inherited member indicator toJavaUnmodifiableSet Reveal DetailHide Detail
      Set<V> toJavaUnmodifiableSet()
      Return a new Java set containing the elements of this collection.
      Set<V> toJavaUnmodifiableSet()
      Description copied from interface: ICollection
      Return a new Java set containing the elements of this collection.
      Ordinary member indicator visit Reveal DetailHide Detail
      void visit(Visitor<V> visitor)
      Visit each element of the list from the first element to the last element.
      void visit(Visitor<V> visitor)
      Visit each element of the list from the first element to the last element.
      Specified by:
      visit in interface ICollection<V>
      Parameters:
      visitor - The visitor to call on the list elements.