Uses of Interface
org.magicwerk.brownies.collections.primitive.IShortListable
Packages that use IShortListable
Package
Description
This packages contains implementations of GapList and BigList for primitive data types.
-
Uses of IShortListable in org.magicwerk.brownies.collections.primitive
Classes in org.magicwerk.brownies.collections.primitive that implement IShortListableModifier and TypeClassDescriptionclass
ClassIShortList
is the abstract class which offers all interfaces implemented by ArrayList.protected static class
Wrapper to treat an array asIShortListable
.protected static class
Wrapper to treat aCollection
asIShortListable
.protected static class
Wrapper to treat aList
asIShortListable
.protected static class
Wrapper to treat a repeated element asIShortListable
.class
ShortBigList is a list optimized for storing large number of elements.protected static class
A read-only version ofinvalid reference
Key1List
(package private) static class
A block stores in maximum blockSize number of elements.class
Class {link ShortGapList} combines the strengths of bothArrayList
andLinkedList
.protected static class
A read-only version ofShortGapList
.Methods in org.magicwerk.brownies.collections.primitive that return IShortListableModifier and TypeMethodDescriptionprotected IShortListable
IShortList.asIShortListable
(Collection<Short> coll) Return correct IShortListable for passed collection.Methods in org.magicwerk.brownies.collections.primitive with parameters of type IShortListableModifier and TypeMethodDescriptionprotected boolean
IShortList.doAddAll
(int index, IShortListable list) Helper method for adding multiple elements to the list.protected boolean
ShortBigList.doAddAll
(int index, IShortListable list) private void
ShortBigList.doAddAllHead
(IShortListable list, int addPos, int addLen, int space) private void
ShortBigList.doAddAllMiddle
(IShortListable list, int addPos) private void
ShortBigList.doAddAllTail
(IShortListable list, int addPos, int addLen, int space) protected void
IShortList.doInitAll
(IShortListable list) protected void
IShortList.doPutAll
(int index, IShortListable list) protected boolean
IShortList.doReplace
(int index, int len, IShortListable list) protected void
IShortList.replace
(int index, int len, IShortListable list)