- java.lang.Object
-
- swim.structure.Form<T>
-
- swim.structure.form.FieldForm<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
cast(Item item)
Converts a structurally typeditem
into a nominally typed Java object.abstract T
cast(Item item, T object)
Converts a structurally typeditem
into a nominally typed Java object based on the provided prototypeobject
.abstract Field
field()
abstract Value
key()
-
Methods inherited from class swim.structure.Form
forArray, forBigInteger, forBoolean, forBuiltin, forByte, forByteBuffer, forCharacter, forClass, forClass, forCollection, forDouble, forFloat, forInteger, forItem, forList, forLong, forMap, forMap, forNumber, forSet, forShort, forString, forValue, isBuiltin, mold, mold, tag, tag, type, unit, unit
-
-
-
-
Method Detail
-
field
public abstract Field field()
-
key
public abstract Value key()
-
cast
public abstract T cast(Item item, T object)
Description copied from class:Form
Converts a structurally typeditem
into a nominally typed Java object based on the provided prototypeobject
. The passed-initem
is assumed to be non-null
. The passed-in prototypeobject
may benull
.
-
-