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 DefaultList
DefaultList.EmptyList<E> -
Field Summary
Fields inherited from class DefaultList
EMPTY_LISTFields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableTypes(int capacity) UnmodifiableTypes(Collection<Type> collection) UnmodifiableTypes(Type type, Type... types) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()listIterator(int i) remove(int i) booleanbooleanremoveAll(Collection<?> collection) booleanprotected voidremoveRange(int i, int i1) voidreplaceAll(UnaryOperator<Type> unaryOperator) booleanretainAll(Collection<?> collection) Methods inherited from class DefaultList
emptyList, getFirst, getLast, isListMethods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Constructor Details
-
UnmodifiableTypes
public UnmodifiableTypes() -
UnmodifiableTypes
public UnmodifiableTypes(int capacity) -
UnmodifiableTypes
-
UnmodifiableTypes
-
-
Method Details
-
removeFirst
- Specified by:
removeFirstin interfaceList<Type>- Specified by:
removeFirstin interfaceSequencedCollection<Type>- Overrides:
removeFirstin classDefaultList<Type>
-
removeLast
- Specified by:
removeLastin interfaceList<Type>- Specified by:
removeLastin interfaceSequencedCollection<Type>- Overrides:
removeLastin classDefaultList<Type>
-
remove
-
remove
-
clear
-
removeRange
protected void removeRange(int i, int i1) - Overrides:
removeRangein classArrayList<Type>
-
removeAll
-
retainAll
-
listIterator
- Specified by:
listIteratorin interfaceList<Type>- Overrides:
listIteratorin classArrayList<Type>
-
listIterator
- Specified by:
listIteratorin interfaceList<Type>- Overrides:
listIteratorin classArrayList<Type>
-
set
-
removeIf
-
replaceAll
- Specified by:
replaceAllin interfaceList<Type>- Overrides:
replaceAllin classArrayList<Type>
-