Package org.odmg

Interface DArray

  • All Superinterfaces:
    java.util.Collection, DCollection, java.lang.Iterable, java.util.List

    public interface DArray
    extends DCollection, java.util.List
    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 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void resize​(int newSize)
      Resize the array to have newSize elements.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Method Detail

      • resize

        void resize​(int newSize)
        Resize the array to have newSize elements.
        Parameters:
        newSize - The new size of the array.