Class IntPairVector

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

    public class IntPairVector
    extends java.util.AbstractList<IntPair>
    implements java.util.RandomAccess
    • Method Summary

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

      • IntPairVector

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

        public IntPairVector​(IntPair[] initialElements)
      • IntPairVector

        public IntPairVector​(java.lang.Iterable<IntPair> initialElements)
      • IntPairVector

        public IntPairVector()
      • IntPairVector

        public IntPairVector​(int count,
                             IntPair value)
    • Method Detail

      • delete

        public void delete()
      • get

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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