Class FieldAreas

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

    public class FieldAreas
    extends java.util.ArrayList<FieldArea>
    Array of FieldArea
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void move​(int from, int to)
      Change ordering
      void move​(FieldArea fa, int to)
      Change ordering
      void sortByPosition()
      Sorts areas in initial positions
      java.lang.String toString()
      Generates basic string dump for field areas (useful for debug purposes)
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

      • Methods inherited from class java.lang.Object

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

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

    • Constructor Detail

      • FieldAreas

        public FieldAreas()
    • Method Detail

      • sortByPosition

        public void sortByPosition()
        Sorts areas in initial positions
      • move

        public void move​(int from,
                         int to)
        Change ordering
        from - from position index
        to - to position index
      • move

        public void move​(FieldArea fa,
                         int to)
        Change ordering
        fa - field area
        to - to position index
      • toString

        public java.lang.String toString()
        Generates basic string dump for field areas (useful for debug purposes)
        toString in class java.util.AbstractCollection<FieldArea>
        field areas as string