Package org.pkl.core.runtime
Class VmMap
java.lang.Object
org.pkl.core.runtime.VmValue
org.pkl.core.runtime.VmMap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(VmValueConverter<T> converter, Iterable<Object> path) voidaccept(VmValueVisitor visitor) static VmMap.Builderbuilder()static VmMap.Builderconcatenate(VmMap other) booleancontainsKey(Object key) booleancontainsValue(Object value) static VmMapcreate(org.organicdesign.fp.collections.ImMap<Object, Object> map, RrbTree.ImRrbt<Object> keyOrder) static VmMapcreateFromConstantNodes(ExpressionNode[] constantNodes) entries()booleanEnables calling `vmValue.equals()` when not behind a Truffle boundary.export()voidforce(boolean allowUndefinedValues) Forces recursive (deep) evaluation of this value.intgetOrVmNull(Object key) inthashCode()booleanisEmpty()iterator()keys()toString()values()Methods inherited from class org.pkl.core.runtime.VmValue
export, exportNullable, force, getPrototype, isDynamic, isListing, isMapping, isPrototype, isSequence, isTypedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
EMPTY
-
-
Method Details
-
create
public static VmMap create(org.organicdesign.fp.collections.ImMap<Object, Object> map, RrbTree.ImRrbt<Object> keyOrder) -
createFromConstantNodes
-
builder
-
builder
-
getVmClass
- Specified by:
getVmClassin classVmValue
-
iterator
-
getOrNull
-
getOrVmNull
-
getLength
public int getLength() -
isEmpty
public boolean isEmpty() -
concatenate
-
containsKey
-
containsValue
-
put
-
remove
-
keys
-
values
-
entries
-
force
public void force(boolean allowUndefinedValues) Description copied from class:VmValueForces recursive (deep) evaluation of this value. -
toMapping
-
toDynamic
-
export
-
accept
-
accept
-
equals
Description copied from class:VmValueEnables calling `vmValue.equals()` when not behind a Truffle boundary. -
hashCode
public int hashCode() -
toString
-