Package daikon.chicory
Class NonsensicalList
- Object
-
- AbstractCollection<E>
-
- AbstractList<Object>
-
- NonsensicalList
-
public class NonsensicalList extends AbstractList<Object> implements List<Object>
NonsensicalList is similar to NonsensicalObject but it is used for arrays whose value is nonsensical.
-
-
Field Summary
-
Fields inherited from class AbstractList
modCount
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(int index)
static NonsensicalList
getInstance()
static boolean
isNonsensicalList(Object obj)
int
size()
String
toString()
-
Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
getInstance
public static NonsensicalList getInstance()
-
size
@Pure public int size(@GuardSatisfied NonsensicalList this)
- Specified by:
size
in interfaceCollection<Object>
- Specified by:
size
in interfaceList<Object>
- Specified by:
size
in classAbstractCollection<Object>
-
toString
@SideEffectFree public String toString(@GuardSatisfied NonsensicalList this)
- Overrides:
toString
in classAbstractCollection<Object>
-
isNonsensicalList
public static boolean isNonsensicalList(Object obj)
-
-