Uses of Class
cern.colt.list.AbstractShortList
Packages that use AbstractShortList
Package
Description
Resizable lists holding objects or primitive data types such as int,
double, etc.
-
Uses of AbstractShortList in cern.colt.list
Subclasses of AbstractShortList in cern.colt.listModifier and TypeClassDescriptionclassResizable list holdingshortelements; implemented with arrays.Methods in cern.colt.list that return AbstractShortListModifier and TypeMethodDescriptionAbstractShortList.elements(short[] elements) Sets the receiver's elements to be the specified array.ShortArrayList.elements(short[] elements) Sets the receiver's elements to be the specified array (not a copy of it).AbstractShortList.partFromTo(int from, int to) Returns a new list of the part of the receiver betweenfrom, inclusive, andto, inclusive.ShortArrayList.partFromTo(int from, int to) Returns a new list of the part of the receiver betweenfrom, inclusive, andto, inclusive.AbstractShortList.times(int times) Returns a list which is a concatenation oftimestimes the receiver.Methods in cern.colt.list with parameters of type AbstractShortListModifier and TypeMethodDescriptionvoidAbstractShortList.addAllOfFromTo(AbstractShortList other, int from, int to) Appends the part of the specified list betweenfrom(inclusive) andto(inclusive) to the receiver.voidAbstractShortList.beforeInsertAllOfFromTo(int index, AbstractShortList other, int from, int to) Inserts the part of the specified list betweenotherFrom(inclusive) andotherTo(inclusive) before the specified position into the receiver.booleanAbstractShortList.removeAll(AbstractShortList other) Removes from the receiver all elements that are contained in the specified list.booleanShortArrayList.removeAll(AbstractShortList other) Removes from the receiver all elements that are contained in the specified list.voidAbstractShortList.replaceFromToWithFrom(int from, int to, AbstractShortList other, int otherFrom) Replaces a number of elements in the receiver with the same number of elements of another list.voidShortArrayList.replaceFromToWithFrom(int from, int to, AbstractShortList other, int otherFrom) Replaces a number of elements in the receiver with the same number of elements of another list.voidAbstractShortList.replaceFromToWithFromTo(int from, int to, AbstractShortList other, int otherFrom, int otherTo) Replaces the part betweenfrom(inclusive) andto(inclusive) with the other list's part betweenotherFromandotherTo.booleanAbstractShortList.retainAll(AbstractShortList other) Retains (keeps) only the elements in the receiver that are contained in the specified other list.booleanShortArrayList.retainAll(AbstractShortList other) Retains (keeps) only the elements in the receiver that are contained in the specified other list.