Class LHCFillSet

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<LHCFill>, java.util.Map<java.lang.Integer,​LHCFill>, java.util.NavigableMap<java.lang.Integer,​LHCFill>, java.util.SortedMap<java.lang.Integer,​LHCFill>

    public class LHCFillSet
    extends java.util.TreeMap<java.lang.Integer,​LHCFill>
    implements java.lang.Iterable<LHCFill>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      LHCFillSet()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLHCFill​(LHCFill lhcFill)  
      boolean containsLHCFill​(int fillNumber)  
      static LHCFillSet from​(@NonNull java.util.List<cern.nxcals.api.custom.domain.Fill> fills)  
      int[] getFillNumbers()  
      LHCFill getLHCFill​(int fillNumber)  
      java.util.Iterator<LHCFill> iterator()  
      • Methods inherited from class java.util.TreeMap

        ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, isEmpty, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
    • Constructor Detail

      • LHCFillSet

        public LHCFillSet()
    • Method Detail

      • from

        public static LHCFillSet from​(@NonNull
                                      @NonNull java.util.List<cern.nxcals.api.custom.domain.Fill> fills)
      • addLHCFill

        public void addLHCFill​(LHCFill lhcFill)
      • containsLHCFill

        public boolean containsLHCFill​(int fillNumber)
      • getLHCFill

        public LHCFill getLHCFill​(int fillNumber)
      • iterator

        public java.util.Iterator<LHCFill> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<LHCFill>
      • getFillNumbers

        public int[] getFillNumbers()