Class VectorGeometryPtr

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

    public class VectorGeometryPtr
    extends java.util.AbstractList<GeometryPtr>
    implements java.util.RandomAccess
    • Constructor Detail

      • VectorGeometryPtr

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

        public VectorGeometryPtr​(GeometryPtr[] initialElements)
      • VectorGeometryPtr

        public VectorGeometryPtr​(java.lang.Iterable<GeometryPtr> initialElements)
      • VectorGeometryPtr

        public VectorGeometryPtr()
      • VectorGeometryPtr

        public VectorGeometryPtr​(int count,
                                 GeometryPtr value)
    • Method Detail

      • delete

        public void delete()
      • get

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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