public class FreezableList<E> extends AbstractList<E>
modCount| Constructor and Description |
|---|
FreezableList(List<E> delegate) |
FreezableList(List<E> delegate,
boolean immutable) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
E element) |
boolean |
equals(Object obj) |
E |
get(int index) |
int |
hashCode() |
boolean |
isImmutable() |
void |
makeElementsImmutable() |
void |
makeImmutable() |
E |
remove(int index) |
E |
set(int index,
E element) |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRangeaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic boolean equals(Object obj)
equals in interface Collection<E>equals in interface List<E>equals in class AbstractList<E>public int hashCode()
hashCode in interface Collection<E>hashCode in interface List<E>hashCode in class AbstractList<E>public void makeImmutable()
public boolean isImmutable()
public void makeElementsImmutable()
public int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>public E get(int index)
public void add(int index,
E element)
public E remove(int index)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.