java.lang.Object
swim.structure.Form<T>
swim.structure.form.FieldForm<T>
swim.structure.form.AttrForm<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts a structurally typeditem
into a nominally typed Java object based on the provided prototypeobject
.field()
key()
Converts a nominally typed Javaobject
into its structurally typed equivalent.Converts a nominally typed Javaobject
into its structurally typed equivalent based on the provided prototypeitem
.Class<?>
type()
Returns the reifiedClass
of typeT
.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, tag, tag, unit, unit
-
Constructor Details
-
AttrForm
-
-
Method Details
-
field
-
key
-
type
Description copied from class:Form
Returns the reifiedClass
of typeT
. -
mold
Description copied from class:Form
Converts a nominally typed Javaobject
into its structurally typed equivalent based on the provided prototypeitem
. The passed-initem
is assumed to be non-null
. The returnedItem
must never benull
. -
mold
Description copied from class:Form
Converts a nominally typed Javaobject
into its structurally typed equivalent. The returnedItem
must never benull
. -
cast
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
.
-