public class

CometGroups

extends Object
implements List<E>
java.lang.Object
   ↳ com.priint.comet.metadata.group.CometGroups

Summary

Public Constructors
CometGroups(GroupDocument groupDocument)
Public Methods
boolean add(Group group)
void add(int i, Group group)
boolean addAll(Collection<? extends Group> collection)
boolean addAll(int i, Collection<? extends Group> collection)
void clear()
boolean contains(Object o)
boolean containsAll(Collection<?> collection)
static <E> List<E> copyOf(Collection<? extends E> coll)
boolean equals(Object o)
void forEach(Consumer<? super Group> action)
Group get(int i)
Rect getCoordinates(int cometGroupId)

Gets the coordinates of a comet group

Document getDocument()

Gets the owner document of this comet group list

Gets the owner document (i.e.

int[] getIds()

Gets the ids of all contained comet groups as int[]

int hashCode()
int indexOf(Object o)
boolean isEmpty()
Iterator<Group> iterator()
int lastIndexOf(Object o)
ListIterator<Group> listIterator(int i)
ListIterator<Group> listIterator()
static <E> List<E> of(E e1, E e2, E e3, E e4, E e5)
static <E> List<E> of()
static <E> List<E> of(E e1, E e2)
static <E> List<E> of(E... elements)
static <E> List<E> of(E e1, E e2, E e3, E e4)
static <E> List<E> of(E e1)
static <E> List<E> of(E e1, E e2, E e3)
static <E> List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
static <E> List<E> of(E e1, E e2, E e3, E e4, E e5, E e6)
static <E> List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
static <E> List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
static <E> List<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
Stream<Group> parallelStream()
boolean remove(Object o)
Group remove(int i)
boolean removeAll(Collection<?> collection)
boolean removeIf(Predicate<? super Group> filter)
void replaceAll(UnaryOperator<Group> operator)
boolean retainAll(Collection<?> collection)
Group set(int i, Group group)
int size()
void sort(Comparator<? super Group> c)
Spliterator<Group> spliterator()
Stream<Group> stream()
List<Group> subList(int i, int i1)
Object[] toArray()
<T> T[] toArray(IntFunction<T[]> generator)
<T> T[] toArray(T[] ts)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List

Public Constructors

public CometGroups (GroupDocument groupDocument)

Public Methods

public boolean add (Group group)

public void add (int i, Group group)

public boolean addAll (Collection<? extends Group> collection)

public boolean addAll (int i, Collection<? extends Group> collection)

public void clear ()

public boolean contains (Object o)

public boolean containsAll (Collection<?> collection)

public static List<E> copyOf (Collection<? extends E> coll)

public boolean equals (Object o)

public void forEach (Consumer<? super Group> action)

public Group get (int i)

public Rect getCoordinates (int cometGroupId)

Gets the coordinates of a comet group

Returns
  • coordinates of the given comet group
Throws
if the group does not exist or has no coordinates
ItemNotFoundException

public Document getDocument ()

Gets the owner document of this comet group list

Gets the owner document (i.e. general document information) of this comet group list

Returns
  • owner document of this comet group list

public int[] getIds ()

Gets the ids of all contained comet groups as int[]

Returns
  • Ids of all elements as int[]

public int hashCode ()

public int indexOf (Object o)

public boolean isEmpty ()

public Iterator<Group> iterator ()

public int lastIndexOf (Object o)

public ListIterator<Group> listIterator (int i)

public ListIterator<Group> listIterator ()

public static List<E> of (E e1, E e2, E e3, E e4, E e5)

public static List<E> of ()

public static List<E> of (E e1, E e2)

public static List<E> of (E... elements)

public static List<E> of (E e1, E e2, E e3, E e4)

public static List<E> of (E e1)

public static List<E> of (E e1, E e2, E e3)

public static List<E> of (E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)

public static List<E> of (E e1, E e2, E e3, E e4, E e5, E e6)

public static List<E> of (E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)

public static List<E> of (E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)

public static List<E> of (E e1, E e2, E e3, E e4, E e5, E e6, E e7)

public Stream<Group> parallelStream ()

public boolean remove (Object o)

public Group remove (int i)

public boolean removeAll (Collection<?> collection)

public boolean removeIf (Predicate<? super Group> filter)

public void replaceAll (UnaryOperator<Group> operator)

public boolean retainAll (Collection<?> collection)

public Group set (int i, Group group)

public int size ()

public void sort (Comparator<? super Group> c)

public Spliterator<Group> spliterator ()

public Stream<Group> stream ()

public List<Group> subList (int i, int i1)

public Object[] toArray ()

public T[] toArray (IntFunction<T[]> generator)

public T[] toArray (T[] ts)