Package org.odmg
Interface DArray
- All Superinterfaces:
Collection,DCollection,Iterable,List,SequencedCollection
The interface that defines the operations of an ODMG array,
not yet available in RasDaMan. Nearly all of its operations are defined by the JavaSoft
not yet available in RasDaMan. Nearly all of its operations are defined by the JavaSoft
List interface.
All of the operations defined by the JavaSoft List
interface are supported by an ODMG implementation of DArray,
the exception UnsupportedOperationException is not thrown when a
call is made to any of the List methods.
An instance of a class implementing this interface can be obtained
by calling the method Implementation.newDArray.- Author:
- David Jordan (as Java Editor of the Object Data Management Group)
-
Method Summary
Modifier and TypeMethodDescriptionvoidresize(int newSize) Resize the array to havenewSizeelements.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface org.odmg.DCollection
existsElement, query, select, selectElementMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
resize
void resize(int newSize) Resize the array to havenewSizeelements.- Parameters:
newSize- The new size of the array.
-