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 TypeMethodDescriptionvoid
close()
boolean
get
(int index) Get the "resource" owned by this "resource owner".int
iterator()
list()
list
(int startingIndex) list
(int startingIndex, int endingIndex) loop()
loop
(int startingIndex) loop
(int startingIndex, int endingIndex) int
size()
sort
(Comparator<Id> comparator) void
swap
(int firstIndex, int secondIndex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
IdBuffer
-
IdBuffer
-
-
Method Details
-
getResource
Description copied from interface:ResourceOwner
Get the "resource" owned by this "resource owner".- Specified by:
getResource
in 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
-