Package com.cbe

Class Streams_Vec

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

    public class Streams_Vec
    extends java.util.AbstractList<Stream>
    implements java.util.RandomAccess
    class Streams_Vec java implementation of c++ std vector of CBE::Stream 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, Stream e)  
      boolean add​(Stream e)  
      long capacity()  
      void clear()  
      Stream get​(int index)  
      boolean isEmpty()  
      Stream remove​(int index)  
      void reserve​(long n)  
      Stream set​(int index, Stream 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

      • Streams_Vec

        public Streams_Vec​(Stream[] initialElements)
      • Streams_Vec

        public Streams_Vec​(java.lang.Iterable<Stream> initialElements)
      • Streams_Vec

        public Streams_Vec()
      • Streams_Vec

        public Streams_Vec​(Streams_Vec other)
      • Streams_Vec

        public Streams_Vec​(int count,
                           Stream value)
    • Method Detail

      • get

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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