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_LISTFields 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 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 org.jd.core.v1.util.DefaultList
emptyList, getFirst, getLast, isListMethods 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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, sizeMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods 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:
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
public void 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>
-