Package org.jlab.geom.gemc
Class GemcDetector
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
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, putAll, putIfAbsent, remove, remove, replace, replace, size
Methods inherited from class java.util.AbstractMap
equals, hashCode
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Constructor Details
-
GemcDetector
public GemcDetector()defines the keys and order thereof for this map
-
-
Method Details
-
put
this prevents new keys from being added outside the constructor -
toString
human-readable format- Overrides:
toString
in classAbstractMap<String,
String>
-
toPaddedString
text format expected by GEMC -
getWidths
returns the length of the strings stored in this map
-