Class MapBasedAstObject
java.lang.Object
dev.webfx.platform.ast.spi.factory.impl.generic.MapBasedAstObject
- All Implemented Interfaces:
AstNode
,AstObject
,ReadOnlyAstNode
,ReadOnlyAstObject
- Direct Known Subclasses:
MapAstObject
- Author:
- Bruno Salmon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
boolean
getMap()
getNativeElement
(String key) boolean
Test whether a given key has present.keys()
All keys of the object.<T> T
Remove a given key and associated value from the object.protected abstract void
int
size()
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.webfx.platform.ast.AstObject
getObject, set, set, set, set, set, set, set, setArray, setObject, setScalar
Methods inherited from interface dev.webfx.platform.ast.ReadOnlyAstNode
isArray, isEmpty, isObject
Methods inherited from interface dev.webfx.platform.ast.ReadOnlyAstObject
get, getArray, getBoolean, getBoolean, getDouble, getDouble, getInstant, getInstant, getInteger, getInteger, getLong, getLong, getScalar, getScalar, getString, getString, isArray, isObject, isScalar, isTrue
-
Field Details
-
isShallowCopy
protected boolean isShallowCopy
-
-
Constructor Details
-
MapBasedAstObject
protected MapBasedAstObject() -
MapBasedAstObject
-
-
Method Details
-
getMap
-
setMap
-
deepCopyNativeObject
protected void deepCopyNativeObject() -
size
public int size()- Specified by:
size
in interfaceReadOnlyAstNode
- Specified by:
size
in interfaceReadOnlyAstObject
-
has
Description copied from interface:ReadOnlyAstObject
Test whether a given key has present.- Specified by:
has
in interfaceReadOnlyAstObject
-
keys
Description copied from interface:ReadOnlyAstObject
All keys of the object.- Specified by:
keys
in interfaceReadOnlyAstObject
-
getNativeElement
-
remove
Description copied from interface:AstObject
Remove a given key and associated value from the object. -
checkCopyBeforeUpdate
protected void checkCopyBeforeUpdate() -
equals
-