Package com.cbe

Class Groups_Vec

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

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

      • Groups_Vec

        public Groups_Vec​(Group[] initialElements)
      • Groups_Vec

        public Groups_Vec​(java.lang.Iterable<Group> initialElements)
      • Groups_Vec

        public Groups_Vec()
      • Groups_Vec

        public Groups_Vec​(Groups_Vec other)
      • Groups_Vec

        public Groups_Vec​(int count,
                          Group value)
    • Method Detail

      • get

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

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

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

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

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

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

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

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

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