Class VectorPTRef

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

    public class VectorPTRef
    extends java.util.AbstractList<PTRef>
    implements java.util.RandomAccess
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean swigCMemOwn  
      • 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, PTRef e)  
      boolean add​(PTRef e)  
      long capacity()  
      void clear()  
      void delete()  
      protected void finalize()  
      PTRef get​(int index)  
      protected static long getCPtr​(VectorPTRef obj)  
      boolean isEmpty()  
      PTRef remove​(int index)  
      protected void removeRange​(int fromIndex, int toIndex)  
      void reserve​(long n)  
      PTRef set​(int index, PTRef e)  
      int size()  
      protected static long swigRelease​(VectorPTRef obj)  
      • 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
    • Field Detail

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • VectorPTRef

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

        public VectorPTRef​(PTRef[] initialElements)
      • VectorPTRef

        public VectorPTRef​(java.lang.Iterable<PTRef> initialElements)
      • VectorPTRef

        public VectorPTRef()
      • VectorPTRef

        public VectorPTRef​(VectorPTRef other)
      • VectorPTRef

        public VectorPTRef​(int count,
                           PTRef value)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(VectorPTRef obj)
      • swigRelease

        protected static long swigRelease​(VectorPTRef obj)
      • finalize

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

        public void delete()
      • get

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

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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