Package com.cbe

Class Requests_Vec

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

    public class Requests_Vec
    extends java.util.AbstractList<Request>
    implements java.util.RandomAccess
    class Request_Vec java implementation of c++ std vector of CBE::Request objects.
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int index, Request e)  
      boolean add​(Request e)  
      long capacity()  
      void clear()  
      Request get​(int index)  
      boolean isEmpty()  
      Request remove​(int index)  
      void reserve​(long n)  
      Request set​(int index, Request e)  
      int size()  
      • Methods inherited from class java.util.AbstractList

        addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
    • Constructor Detail

      • Requests_Vec

        public Requests_Vec​(Request[] initialElements)
      • Requests_Vec

        public Requests_Vec​(java.lang.Iterable<Request> initialElements)
      • Requests_Vec

        public Requests_Vec()
      • Requests_Vec

        public Requests_Vec​(int count,
                            Request value)
    • Method Detail

      • get

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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