Package com.storedobject.core
Class IdBuffer
java.lang.Object
com.storedobject.core.IdBuffer
- All Implemented Interfaces:
ResourceOwner,Iterable<Id>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanget(int index) Get the "resource" owned by this "resource owner".intiterator()list()list(int startingIndex) list(int startingIndex, int endingIndex) loop()loop(int startingIndex) loop(int startingIndex, int endingIndex) intsize()sort(Comparator<Id> comparator) voidswap(int firstIndex, int secondIndex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
IdBuffer
-
IdBuffer
-
-
Method Details
-
getResource
Description copied from interface:ResourceOwnerGet the "resource" owned by this "resource owner".- Specified by:
getResourcein interfaceResourceOwner- Returns:
- The "resource" owned by this "resource owner".
-
close
public void close() -
size
public int size() -
swap
public void swap(int firstIndex, int secondIndex) -
contains
-
indexOf
-
get
-
loop
-
loop
-
loop
-
list
-
list
-
list
-
filter
-
sort
-
iterator
-