Class VectorUInt

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

    public class VectorUInt
    extends java.util.AbstractList<java.lang.Long>
    implements java.util.RandomAccess
    • Method Summary

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

      • VectorUInt

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

        public VectorUInt​(long[] initialElements)
      • VectorUInt

        public VectorUInt​(java.lang.Iterable<java.lang.Long> initialElements)
      • VectorUInt

        public VectorUInt()
      • VectorUInt

        public VectorUInt​(VectorUInt other)
      • VectorUInt

        public VectorUInt​(int count,
                          long value)
    • Method Detail

      • getCPtr

        public static long getCPtr​(VectorUInt obj)
      • delete

        public void delete()
      • get

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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