| Package | Description |
|---|---|
| net.digitalid.utility.collections.list |
Provides one read-only and several freezable lists.
|
| Modifier and Type | Method and Description |
|---|---|
@Nonnull @NonFrozen FreezableArrayList<E> |
FreezableArrayList.clone() |
static <E> @Nonnull @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withElement(E element)
Returns a new freezable array list with the given element.
|
static <E> @Nonnull @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withElements(E... elements)
Returns a new freezable array list with the given elements or null if the given array is null.
|
static <E> @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withElementsOf(Collection<? extends E> collection)
Returns a new freezable array list with the elements of the given collection or null if the given collection is null.
|
static <E> @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withElementsOf(net.digitalid.utility.functional.iterables.FiniteIterable<? extends E> iterable)
Returns a new freezable array list with the elements of the given iterable or null if the given iterable is null.
|
static <E> @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withElementsOf(FreezableCollection<? extends E> collection)
Returns a new freezable array list with the elements of the given freezable collection or null if the given collection is null.
|
static <E> @Nonnull @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withInitialCapacity(@NonNegative int initialCapacity)
Returns a new freezable array list with the given initial capacity.
|
static <E> @Nonnull @NonFrozen FreezableArrayList<E> |
FreezableArrayList.withNoElements()
Returns a new freezable array list with no elements.
|
Copyright © 2017. All rights reserved.