Class VectorPair_d_d

  • All Implemented Interfaces:
    java.lang.Iterable<pair_d_d>, java.util.Collection<pair_d_d>, java.util.List<pair_d_d>, java.util.RandomAccess

    public class VectorPair_d_d
    extends java.util.AbstractList<pair_d_d>
    implements java.util.RandomAccess
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, pair_d_d e)  
      boolean add​(pair_d_d e)  
      long capacity()  
      void clear()  
      void delete()  
      pair_d_d get​(int index)  
      static long getCPtr​(VectorPair_d_d obj)  
      boolean isEmpty()  
      pair_d_d remove​(int index)  
      void reserve​(long n)  
      pair_d_d set​(int index, pair_d_d e)  
      int size()  
      • 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

        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

      • VectorPair_d_d

        public VectorPair_d_d​(long cPtr,
                              boolean cMemoryOwn)
      • VectorPair_d_d

        public VectorPair_d_d​(pair_d_d[] initialElements)
      • VectorPair_d_d

        public VectorPair_d_d​(java.lang.Iterable<pair_d_d> initialElements)
      • VectorPair_d_d

        public VectorPair_d_d()
      • VectorPair_d_d

        public VectorPair_d_d​(int count,
                              pair_d_d value)
    • Method Detail

      • delete

        public void delete()
      • get

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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