Package org.javacc.parser
Class CodeGeneratorSettings
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
The
CodeGeneratorSettings implements a Map builder- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCodeGeneratorSettings(Map<String, Object> options) Constructs an instance ofCodeGeneratorSettings. -
Method Summary
Modifier and TypeMethodDescriptionfinal CodeGeneratorSettingsadd(CodeGeneratorSettings options) Add anotherCodeGeneratorSettingsto the current instance.static CodeGeneratorSettingscreate()Creates an empty instance ofCodeGeneratorSettings.static CodeGeneratorSettingsCreates a new instance ofCodeGeneratorSettingsfrom another optionMap.final CodeGeneratorSettingsSet an option to heCodeGeneratorSettings.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
CodeGeneratorSettings
Constructs an instance ofCodeGeneratorSettings.- Parameters:
options-
-
-
Method Details
-
add
Add anotherCodeGeneratorSettingsto the current instance.- Parameters:
options-
-
set
Set an option to heCodeGeneratorSettings. -
of
Creates a new instance ofCodeGeneratorSettingsfrom another optionMap.- Parameters:
options-
-
create
Creates an empty instance ofCodeGeneratorSettings.
-