Class RigidBodyPtrVector

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

    public class RigidBodyPtrVector
    extends java.util.AbstractList<RigidBodyPtr>
    implements java.util.RandomAccess
    • Constructor Detail

      • RigidBodyPtrVector

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

        public RigidBodyPtrVector​(RigidBodyPtr[] initialElements)
      • RigidBodyPtrVector

        public RigidBodyPtrVector​(java.lang.Iterable<RigidBodyPtr> initialElements)
      • RigidBodyPtrVector

        public RigidBodyPtrVector()
      • RigidBodyPtrVector

        public RigidBodyPtrVector​(int count,
                                  RigidBodyPtr value)
    • Method Detail

      • delete

        public void delete()
      • add

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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