Uses of Class
cern.colt.list.AbstractLongList
-
Packages that use AbstractLongList Package Description cern.colt.list Resizable lists holding objects or primitive data types such as int, double, etc.cern.colt.list.adapter List adapters that make Colt lists compatible with the JDK 1.2 Collections Framework. -
-
Uses of AbstractLongList in cern.colt.list
Subclasses of AbstractLongList in cern.colt.list Modifier and Type Class Description classDistinctNumberListResizable compressed list holding numbers; based on the fact that a number from a large list with few distinct values need not take more than log(distinctValues) bits; implemented with a MinMaxNumberList.classLongArrayListResizable list holdinglongelements; implemented with arrays.classMinMaxNumberListResizable compressed list holding numbers; based on the fact that a value in a given interval need not take more than log(max-min+1) bits; implemented with a cern.colt.bitvector.BitVector.classSimpleLongArrayListResizable list holdinglongelements; implemented with arrays; not efficient; just to demonstrate which methods you must override to implement a fully functional list.Methods in cern.colt.list that return AbstractLongList Modifier and Type Method Description AbstractLongListAbstractLongList. elements(long[] elements)Sets the receiver's elements to be the specified array.AbstractLongListLongArrayList. elements(long[] elements)Sets the receiver's elements to be the specified array (not a copy of it).AbstractLongListAbstractLongList. partFromTo(int from, int to)Returns a new list of the part of the receiver betweenfrom, inclusive, andto, inclusive.AbstractLongListLongArrayList. partFromTo(int from, int to)Returns a new list of the part of the receiver betweenfrom, inclusive, andto, inclusive.AbstractLongListAbstractLongList. times(int times)Returns a list which is a concatenation oftimestimes the receiver.Methods in cern.colt.list with parameters of type AbstractLongList Modifier and Type Method Description voidAbstractLongList. addAllOfFromTo(AbstractLongList other, int from, int to)Appends the part of the specified list betweenfrom(inclusive) andto(inclusive) to the receiver.voidAbstractLongList. beforeInsertAllOfFromTo(int index, AbstractLongList other, int from, int to)Inserts the part of the specified list betweenotherFrom(inclusive) andotherTo(inclusive) before the specified position into the receiver.booleanAbstractLongList. removeAll(AbstractLongList other)Removes from the receiver all elements that are contained in the specified list.booleanLongArrayList. removeAll(AbstractLongList other)Removes from the receiver all elements that are contained in the specified list.voidAbstractLongList. replaceFromToWithFrom(int from, int to, AbstractLongList other, int otherFrom)Replaces a number of elements in the receiver with the same number of elements of another list.voidLongArrayList. replaceFromToWithFrom(int from, int to, AbstractLongList other, int otherFrom)Replaces a number of elements in the receiver with the same number of elements of another list.voidAbstractLongList. replaceFromToWithFromTo(int from, int to, AbstractLongList other, int otherFrom, int otherTo)Replaces the part betweenfrom(inclusive) andto(inclusive) with the other list's part betweenotherFromandotherTo.booleanAbstractLongList. retainAll(AbstractLongList other)Retains (keeps) only the elements in the receiver that are contained in the specified other list.booleanLongArrayList. retainAll(AbstractLongList other)Retains (keeps) only the elements in the receiver that are contained in the specified other list. -
Uses of AbstractLongList in cern.colt.list.adapter
Fields in cern.colt.list.adapter declared as AbstractLongList Modifier and Type Field Description protected AbstractLongListLongListAdapter. contentConstructors in cern.colt.list.adapter with parameters of type AbstractLongList Constructor Description LongListAdapter(AbstractLongList content)Constructs a list backed by the specified content list.
-