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 long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
ReadOnlyArrayList(java.util.Collection<? extends T> c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
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)
T
remove(int index)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
protected void
removeRange(int fromIndex, int toIndex)
boolean
retainAll(java.util.Collection<?> c)
T
set(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:
removeRange
in 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)
-
-