Package nds2

Class vectorEpochs

  • All Implemented Interfaces:
    java.lang.Iterable<epoch>, java.util.Collection<epoch>, java.util.List<epoch>, java.util.RandomAccess
    Direct Known Subclasses:
    epochs_type

    public class vectorEpochs
    extends java.util.AbstractList<epoch>
    implements java.util.RandomAccess
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, epoch e)  
      boolean add​(epoch e)  
      long capacity()  
      void clear()  
      void delete()  
      protected void finalize()  
      epoch get​(int index)  
      protected static long getCPtr​(vectorEpochs obj)  
      boolean isEmpty()  
      epoch remove​(int index)  
      protected void removeRange​(int fromIndex, int toIndex)  
      void reserve​(long n)  
      epoch set​(int index, epoch e)  
      int size()  
      protected void swigSetCMemOwn​(boolean own)  
      • Methods inherited from class java.util.AbstractList

        addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, getClass, notify, notifyAll, wait, wait, wait
      • 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

        addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
    • Constructor Detail

      • vectorEpochs

        protected vectorEpochs​(long cPtr,
                               boolean cMemoryOwn)
      • vectorEpochs

        public vectorEpochs​(epoch[] initialElements)
      • vectorEpochs

        public vectorEpochs​(java.lang.Iterable<epoch> initialElements)
      • vectorEpochs

        public vectorEpochs()
      • vectorEpochs

        public vectorEpochs​(int count,
                            epoch value)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(vectorEpochs obj)
      • swigSetCMemOwn

        protected void swigSetCMemOwn​(boolean own)
      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object
      • delete

        public void delete()
      • get

        public epoch get​(int index)
        Specified by:
        get in interface java.util.List<epoch>
        Specified by:
        get in class java.util.AbstractList<epoch>
      • set

        public epoch set​(int index,
                         epoch e)
        Specified by:
        set in interface java.util.List<epoch>
        Overrides:
        set in class java.util.AbstractList<epoch>
      • add

        public boolean add​(epoch e)
        Specified by:
        add in interface java.util.Collection<epoch>
        Specified by:
        add in interface java.util.List<epoch>
        Overrides:
        add in class java.util.AbstractList<epoch>
      • add

        public void add​(int index,
                        epoch e)
        Specified by:
        add in interface java.util.List<epoch>
        Overrides:
        add in class java.util.AbstractList<epoch>
      • remove

        public epoch remove​(int index)
        Specified by:
        remove in interface java.util.List<epoch>
        Overrides:
        remove in class java.util.AbstractList<epoch>
      • removeRange

        protected void removeRange​(int fromIndex,
                                   int toIndex)
        Overrides:
        removeRange in class java.util.AbstractList<epoch>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<epoch>
        Specified by:
        size in interface java.util.List<epoch>
        Specified by:
        size in class java.util.AbstractCollection<epoch>
      • capacity

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<epoch>
        Specified by:
        isEmpty in interface java.util.List<epoch>
        Overrides:
        isEmpty in class java.util.AbstractCollection<epoch>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<epoch>
        Specified by:
        clear in interface java.util.List<epoch>
        Overrides:
        clear in class java.util.AbstractList<epoch>