Class UnmodifiableTypes
java.lang.Object
java.util.AbstractCollection<Type>
java.util.AbstractList<Type>
java.util.ArrayList<Type>
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:
Serializable
,Cloneable
,Iterable<Type>
,Collection<Type>
,List<Type>
,RandomAccess
,SequencedCollection<Type>
,BaseType
,TypeVisitable
,Base<Type>
- See Also:
-
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
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableTypes
(int capacity) UnmodifiableTypes
(Collection<Type> collection) UnmodifiableTypes
(Type type, Type... types) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
listIterator
(int i) remove
(int i) boolean
boolean
removeAll
(Collection<?> collection) boolean
protected void
removeRange
(int i, int i1) void
replaceAll
(UnaryOperator<Type> unaryOperator) boolean
retainAll
(Collection<?> collection) 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, addFirst, addLast, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
UnmodifiableTypes
public UnmodifiableTypes() -
UnmodifiableTypes
public UnmodifiableTypes(int capacity) -
UnmodifiableTypes
-
UnmodifiableTypes
-
-
Method Details
-
removeFirst
- Specified by:
removeFirst
in interfaceList<Type>
- Specified by:
removeFirst
in interfaceSequencedCollection<Type>
- Overrides:
removeFirst
in classDefaultList<Type>
-
removeLast
- Specified by:
removeLast
in interfaceList<Type>
- Specified by:
removeLast
in interfaceSequencedCollection<Type>
- Overrides:
removeLast
in classDefaultList<Type>
-
remove
-
remove
-
clear
public void clear() -
removeRange
protected void removeRange(int i, int i1) - Overrides:
removeRange
in classArrayList<Type>
-
removeAll
-
retainAll
-
listIterator
- Specified by:
listIterator
in interfaceList<Type>
- Overrides:
listIterator
in classArrayList<Type>
-
listIterator
- Specified by:
listIterator
in interfaceList<Type>
- Overrides:
listIterator
in classArrayList<Type>
-
set
-
removeIf
-
replaceAll
- Specified by:
replaceAll
in interfaceList<Type>
- Overrides:
replaceAll
in classArrayList<Type>
-