Class FixedBodyPtrVector

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

    public class FixedBodyPtrVector
    extends java.util.AbstractList<FixedBodyPtr>
    implements java.util.RandomAccess
    • Constructor Detail

      • FixedBodyPtrVector

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

        public FixedBodyPtrVector​(FixedBodyPtr[] initialElements)
      • FixedBodyPtrVector

        public FixedBodyPtrVector​(java.lang.Iterable<FixedBodyPtr> initialElements)
      • FixedBodyPtrVector

        public FixedBodyPtrVector()
      • FixedBodyPtrVector

        public FixedBodyPtrVector​(int count,
                                  FixedBodyPtr value)
    • Method Detail

      • delete

        public void delete()
      • add

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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