Uses of Class
org.klojang.collections.WiredList

  • Uses of WiredList in org.klojang.collections

    Methods in org.klojang.collections that return WiredList
    Modifier and Type
    Method
    Description
    WiredList.append(E value)
    Appends the specified value to the end of the list.
    WiredList.appendAll(Collection<? extends E> values)
    Appends the specified collection to this WiredList.
    WiredList.attach(WiredList<? extends E> other)
    Appends the specified list to this list.
    WiredList.copy()
    Returns a copy of this WiredList.
    WiredList.copy(int fromIndex, int toIndex)
    Returns a copy of the specified segment.
    WiredList.cut(int fromIndex, int toIndex)
    Removes and returns a segment from the list.
    WiredList.defragment(boolean keepRemainder, List<Predicate<? super E>> criteria)
    Reorders the elements according to the specified criteria.
    WiredList.defragment(List<Predicate<? super E>> criteria)
    Reorders the elements according to the specified criteria.
    WiredList.embed(int index, WiredList<? extends E> other)
    Embeds the specified list in this list.
    WiredList.embed(int myIndex, WiredList<? extends E> other, int itsFromIndex, int itsToIndex)
    Removes a segment from the specified list and embeds it in this list.
    WiredList.exchange(int myFromIndex, int myToIndex, WiredList<E> other, int itsFromIndex, int itsToIndex)
    Exchanges list segments between this list and the specified list.
    WiredList.insert(int index, E value)
    Inserts a value into the list.
    WiredList.insertAll(int index, Collection<? extends E> values)
    Inserts the specified collection at the specified index, right-shifting the elements at and following the index.
    static <E> WiredList<E>
    WiredList.join(List<WiredList<E>> lists)
    Concatenates the provided WiredList instances.
    WiredList.lchop(Predicate<? super E> criterion)
    Removes and returns a segment from the start of the list.
    WiredList.move(int fromIndex, int toIndex, int newFromIndex)
    Moves a list segment forwards or backwards through the list.
    static <E> WiredList<E>
    WiredList.of()
    Returns a new, empty WiredList.
    static <E> WiredList<E>
    WiredList.of(E e)
    Returns a new WiredList containing the specified element.
    static <E> WiredList<E>
    WiredList.of(E e0, E e1)
    Returns a new WiredList containing the specified elements.
    static <E> WiredList<E>
    WiredList.of(E e0, E e1, E e2, E... moreElems)
    Returns a new WiredList containing the specified elements.
    static <E> WiredList<E>
    WiredList.ofElements(E[] elements)
    Returns a new WiredList containing the specified elements.
    WiredList<? super E>
    WiredList.paste(WiredList<? super E> into, int index)
    Inserts this list into the specified list at the specified position.
    WiredList.prepend(E value)
    Inserts the specified value at the start of the list, right-shifting the original elements.
    WiredList.prependAll(Collection<? extends E> values)
    Inserts the specified collection at the start of the list, right-shifting the original elements.
    WiredList.rchop(Predicate<? super E> criterion)
    Removes and returns a segment from the end of the list.
    WiredList.replace(int fromIndex, int toIndex, WiredList<? extends E> other)
    Replaces the segment between fromIndex and toIndex with the elements in the specified list.
    WiredList.replaceAll(int fromIndex, int toIndex, Collection<? extends E> values)
    Replaces the segment between fromIndex and toIndex with the elements in the specified collection.
    WiredList.reverse()
    Reverses the order of the elements in this WiredList.
    WiredList.set(int index, E e0, E e1, E... moreElems)
    Overwrites the elements at, and following the specified index with the provided values.
    WiredList.shrink(int fromIndex, int toIndex)
    Shrinks the list to between the specified boundaries.
    WiredList.swap(int from1, int to1, int from2, int to2)
    Swaps the two list segments defined by the specified boundary indexes.
    Methods in org.klojang.collections with parameters of type WiredList
    Modifier and Type
    Method
    Description
    WiredList.attach(WiredList<? extends E> other)
    Appends the specified list to this list.
    WiredList.embed(int index, WiredList<? extends E> other)
    Embeds the specified list in this list.
    WiredList.embed(int myIndex, WiredList<? extends E> other, int itsFromIndex, int itsToIndex)
    Removes a segment from the specified list and embeds it in this list.
    WiredList.exchange(int myFromIndex, int myToIndex, WiredList<E> other, int itsFromIndex, int itsToIndex)
    Exchanges list segments between this list and the specified list.
    WiredList<? super E>
    WiredList.paste(WiredList<? super E> into, int index)
    Inserts this list into the specified list at the specified position.
    WiredList.replace(int fromIndex, int toIndex, WiredList<? extends E> other)
    Replaces the segment between fromIndex and toIndex with the elements in the specified list.
    Method parameters in org.klojang.collections with type arguments of type WiredList
    Modifier and Type
    Method
    Description
    static <E> WiredList<E>
    WiredList.join(List<WiredList<E>> lists)
    Concatenates the provided WiredList instances.