public class VncAtom extends VncVal implements IDeref
| Modifier and Type | Field and Description |
|---|---|
static VncKeyword |
TYPE |
| Constructor and Description |
|---|
VncAtom(VncVal value) |
VncAtom(VncVal value,
VncFunction validatorFn,
VncVal meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatch(VncKeyword name,
VncFunction fn) |
VncVal |
compareAndSet(VncVal expectValue,
VncVal newVal) |
java.lang.Object |
convertToJavaObject() |
VncVal |
deref() |
java.util.List<VncKeyword> |
getAllSupertypes() |
VncKeyword |
getSupertype() |
VncKeyword |
getType() |
void |
removeWatch(VncKeyword name) |
VncVal |
reset(VncVal newVal) |
VncVal |
swap(VncFunction fn,
VncList args) |
java.lang.String |
toString() |
java.lang.String |
toString(boolean print_readably) |
TypeRank |
typeRank() |
VncAtom |
withMeta(VncVal meta) |
compareTo, equals, getMeta, getMetaVal, getMetaVal, getWrappingTypeDef, hashCode, isPrivate, isVncList, isWrapped, wrappublic static final VncKeyword TYPE
public VncAtom(VncVal value)
public VncAtom(VncVal value, VncFunction validatorFn, VncVal meta)
public VncKeyword getType()
public VncKeyword getSupertype()
getSupertype in class VncValpublic java.util.List<VncKeyword> getAllSupertypes()
getAllSupertypes in class VncValpublic VncVal swap(VncFunction fn, VncList args)
public void addWatch(VncKeyword name, VncFunction fn)
public void removeWatch(VncKeyword name)
public java.lang.Object convertToJavaObject()
convertToJavaObject in class VncValpublic java.lang.String toString()
toString in class java.lang.Object