Package org.jboss.logmanager
Class LogManager.ReadOnlyArrayList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.jboss.logmanager.LogManager.ReadOnlyArrayList<T>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<T>,java.util.Collection<T>,java.util.List<T>,java.util.RandomAccess
- Enclosing class:
- LogManager
private static final class LogManager.ReadOnlyArrayList<T> extends java.util.ArrayList<T>
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateReadOnlyArrayList(java.util.Collection<? extends T> c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()java.util.Iterator<T>iterator()java.util.ListIterator<T>listIterator(int index)(package private) static <T> LogManager.ReadOnlyArrayList<T>of(java.util.Collection<? extends T> c)Tremove(int index)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)protected voidremoveRange(int fromIndex, int toIndex)booleanretainAll(java.util.Collection<?> c)Tset(int index, T element)-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReadOnlyArrayList
private ReadOnlyArrayList(java.util.Collection<? extends T> c)
-
-
Method Detail
-
of
static <T> LogManager.ReadOnlyArrayList<T> of(java.util.Collection<? extends T> c)
-
remove
public T remove(int index)
-
remove
public boolean remove(java.lang.Object o)
-
clear
public void clear()
-
removeRange
protected void removeRange(int fromIndex, int toIndex)- Overrides:
removeRangein classjava.util.ArrayList<T>
-
iterator
public java.util.Iterator<T> iterator()
-
listIterator
public java.util.ListIterator<T> listIterator(int index)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
-