Class UnmodifiableTypes
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<E>
-
- org.jd.core.v1.util.DefaultList<Type>
-
- org.jd.core.v1.model.javasyntax.type.Types
-
- org.jd.core.v1.model.javasyntax.type.UnmodifiableTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<Type>
,java.util.Collection<Type>
,java.util.List<Type>
,java.util.RandomAccess
,BaseType
,TypeVisitable
,Base<Type>
public class UnmodifiableTypes extends Types
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jd.core.v1.util.DefaultList
DefaultList.EmptyList<E>
-
-
Field Summary
-
Fields inherited from class org.jd.core.v1.util.DefaultList
EMPTY_LIST
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableTypes()
UnmodifiableTypes(int capacity)
UnmodifiableTypes(java.util.Collection<Type> collection)
UnmodifiableTypes(Type type, Type... types)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
java.util.ListIterator<Type>
listIterator()
java.util.ListIterator<Type>
listIterator(int i)
Type
remove(int i)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> collection)
Type
removeFirst()
boolean
removeIf(java.util.function.Predicate<? super Type> predicate)
Type
removeLast()
protected void
removeRange(int i, int i1)
void
replaceAll(java.util.function.UnaryOperator<Type> unaryOperator)
boolean
retainAll(java.util.Collection<?> collection)
Type
set(int i, Type type)
-
Methods inherited from class org.jd.core.v1.util.DefaultList
emptyList, getFirst, getLast, isList
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
removeFirst
public Type removeFirst()
- Overrides:
removeFirst
in classDefaultList<Type>
-
removeLast
public Type removeLast()
- Overrides:
removeLast
in classDefaultList<Type>
-
remove
public Type remove(int i)
-
remove
public boolean remove(java.lang.Object o)
-
clear
public void clear()
-
removeRange
protected void removeRange(int i, int i1)
- Overrides:
removeRange
in classjava.util.ArrayList<Type>
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
-
listIterator
public java.util.ListIterator<Type> listIterator(int i)
-
listIterator
public java.util.ListIterator<Type> listIterator()
-
removeIf
public boolean removeIf(java.util.function.Predicate<? super Type> predicate)
-
-