Class VectorTriangleN3

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

    public class VectorTriangleN3
    extends java.util.AbstractList<TriangleN3>
    implements java.util.RandomAccess
    • Constructor Detail

      • VectorTriangleN3

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

        public VectorTriangleN3​(TriangleN3[] initialElements)
      • VectorTriangleN3

        public VectorTriangleN3​(java.lang.Iterable<TriangleN3> initialElements)
      • VectorTriangleN3

        public VectorTriangleN3()
      • VectorTriangleN3

        public VectorTriangleN3​(int count,
                                TriangleN3 value)
    • Method Detail

      • delete

        public void delete()
      • get

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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