Class FreezableList<T>
java.lang.Object
com.blamejared.contenttweaker.core.util.FreezableList<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, @NotNull Collection<? extends T> c) booleanaddAll(@NotNull Collection<? extends T> c) voidclear()booleanbooleancontainsAll(@NotNull Collection<?> c) voidvoidfreeze()get(int index) intbooleanisEmpty()iterator()int@NotNull ListIterator<T>@NotNull ListIterator<T>listIterator(int index) static <T> FreezableList<T>of()static <T> FreezableList<T>static <T> FreezableList<T>remove(int index) booleanbooleanremoveAll(@NotNull Collection<?> c) booleanvoidreplaceAll(UnaryOperator<T> operator) booleanretainAll(@NotNull Collection<?> c) intsize()voidsort(Comparator<? super T> c) stream()subList(int fromIndex, int toIndex) @NotNull Object[]toArray()<T1> @NotNull T1[]toArray(@NotNull T1[] a) <U> U[]toArray(IntFunction<U[]> generator)
-
Method Details
-
of
-
of
-
of
-
freeze
public void freeze() -
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
@NotNull public <T1> @NotNull T1[] toArray(@NotNull @NotNull T1[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-
replaceAll
- Specified by:
replaceAllin interfaceList<T>
-
sort
-
spliterator
- Specified by:
spliteratorin interfaceCollection<T>- Specified by:
spliteratorin interfaceIterable<T>- Specified by:
spliteratorin interfaceList<T>
-
toArray
- Specified by:
toArrayin interfaceCollection<T>
-
removeIf
- Specified by:
removeIfin interfaceCollection<T>
-
stream
- Specified by:
streamin interfaceCollection<T>
-
parallelStream
- Specified by:
parallelStreamin interfaceCollection<T>
-
forEach
-