Package com.floragunn.fluent.collections
Interface UnmodifiableList<V>
-
- All Superinterfaces:
Collection<V>,Iterable<V>,List<V>,UnmodifiableCollection<V>
- All Known Subinterfaces:
ImmutableList<E>
public interface UnmodifiableList<V> extends List<V>, UnmodifiableCollection<V>
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidadd(int index, V element)Deprecated.default booleanadd(V e)Deprecated.default booleanaddAll(int index, Collection<? extends V> c)Deprecated.default booleanaddAll(Collection<? extends V> c)Deprecated.default voidclear()Deprecated.static <V> UnmodifiableList<V>of(List<V> list)default Vremove(int index)Deprecated.default booleanremove(Object o)Deprecated.default booleanremoveAll(Collection<?> c)Deprecated.default booleanremoveIf(Predicate<? super V> filter)Deprecated.default voidreplaceAll(UnaryOperator<V> operator)Deprecated.default booleanretainAll(Collection<?> c)Deprecated.default Vset(int index, V element)Deprecated.default voidsort(Comparator<? super V> c)Deprecated.-
Methods inherited from interface java.util.Collection
parallelStream, stream
-
Methods inherited from interface java.util.List
contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, spliterator, subList, toArray, toArray
-
Methods inherited from interface com.floragunn.fluent.collections.UnmodifiableCollection
iterator
-
-
-
-
Method Detail
-
of
static <V> UnmodifiableList<V> of(List<V> list)
-
addAll
@Deprecated default boolean addAll(int index, Collection<? extends V> c)
Deprecated.
-
replaceAll
@Deprecated default void replaceAll(UnaryOperator<V> operator)
Deprecated.- Specified by:
replaceAllin interfaceList<V>
-
sort
@Deprecated default void sort(Comparator<? super V> c)
Deprecated.
-
set
@Deprecated default V set(int index, V element)
Deprecated.
-
add
@Deprecated default void add(int index, V element)
Deprecated.
-
removeIf
@Deprecated default boolean removeIf(Predicate<? super V> filter)
Deprecated.- Specified by:
removeIfin interfaceCollection<V>
-
remove
@Deprecated default boolean remove(Object o)
Deprecated.
-
add
@Deprecated default boolean add(V e)
Deprecated.
-
addAll
@Deprecated default boolean addAll(Collection<? extends V> c)
Deprecated.
-
retainAll
@Deprecated default boolean retainAll(Collection<?> c)
Deprecated.
-
clear
@Deprecated default void clear()
Deprecated.
-
removeAll
@Deprecated default boolean removeAll(Collection<?> c)
Deprecated.
-
remove
@Deprecated default V remove(int index)
Deprecated.
-
-