Class TimedStateVector

  • All Implemented Interfaces:
    java.lang.Iterable<TimedState>, java.util.Collection<TimedState>, java.util.List<TimedState>, java.util.RandomAccess
    Direct Known Subclasses:
    PathTimedState

    public class TimedStateVector
    extends java.util.AbstractList<TimedState>
    implements java.util.RandomAccess
    • Constructor Detail

      • TimedStateVector

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

        public TimedStateVector​(TimedState[] initialElements)
      • TimedStateVector

        public TimedStateVector​(java.lang.Iterable<TimedState> initialElements)
      • TimedStateVector

        public TimedStateVector()
      • TimedStateVector

        public TimedStateVector​(int count,
                                TimedState value)
    • Method Detail

      • delete

        public void delete()
      • get

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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