Class DataSheet

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.function.Consumer<Section>, java.util.Map<java.lang.String,​Section>

    public class DataSheet
    extends java.util.LinkedHashMap<java.lang.String,​Section>
    implements java.util.function.Consumer<Section>
    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>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Section lastPut  
    • Constructor Summary

      Constructors 
      Constructor Description
      DataSheet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(Section section)  
      void generate​(java.io.PrintWriter pw)  
      Section getLastSection()  
      Section put​(java.lang.String key, Section value)  
      void putAll​(java.util.Collection<Section> c)  
      void putAll​(java.util.Map<? extends java.lang.String,​? extends Section> m)  
      Section putIfAbsent​(java.lang.String key, Section value)  
      • Methods inherited from class java.util.LinkedHashMap

        clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
      • Methods inherited from class java.util.HashMap

        clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, remove, remove, replace, replace, size
      • Methods inherited from class java.util.AbstractMap

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

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, remove, remove, replace, replace, size
    • Field Detail

      • lastPut

        protected Section lastPut
    • Constructor Detail

      • DataSheet

        public DataSheet()
    • Method Detail

      • getLastSection

        public Section getLastSection()
      • put

        public Section put​(java.lang.String key,
                           Section value)
        Specified by:
        put in interface java.util.Map<java.lang.String,​Section>
        Overrides:
        put in class java.util.HashMap<java.lang.String,​Section>
      • accept

        public void accept​(Section section)
        Specified by:
        accept in interface java.util.function.Consumer<Section>
      • putAll

        public void putAll​(java.util.Collection<Section> c)
      • putAll

        public void putAll​(java.util.Map<? extends java.lang.String,​? extends Section> m)
        Specified by:
        putAll in interface java.util.Map<java.lang.String,​Section>
        Overrides:
        putAll in class java.util.HashMap<java.lang.String,​Section>
      • putIfAbsent

        public Section putIfAbsent​(java.lang.String key,
                                   Section value)
        Specified by:
        putIfAbsent in interface java.util.Map<java.lang.String,​Section>
        Overrides:
        putIfAbsent in class java.util.HashMap<java.lang.String,​Section>
      • generate

        public void generate​(java.io.PrintWriter pw)