Package com.automation_pros.odva.eds
Class DataSheet
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Section>
-
- com.automation_pros.odva.eds.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
-
-
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
-
-
-
-
Field Detail
-
lastPut
protected Section lastPut
-
-
Method Detail
-
getLastSection
public Section getLastSection()
-
accept
public void accept(Section section)
- Specified by:
accept
in interfacejava.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)
-
generate
public void generate(java.io.PrintWriter pw)
-
-