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 voidclear()java.util.ListIterator<Type>listIterator()java.util.ListIterator<Type>listIterator(int i)Typeremove(int i)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> collection)TyperemoveFirst()booleanremoveIf(java.util.function.Predicate<? super Type> predicate)TyperemoveLast()protected voidremoveRange(int i, int i1)voidreplaceAll(java.util.function.UnaryOperator<Type> unaryOperator)booleanretainAll(java.util.Collection<?> collection)Typeset(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:
removeFirstin classDefaultList<Type>
-
removeLast
public Type removeLast()
- Overrides:
removeLastin 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:
removeRangein 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)
-
-