- 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 Tcast(Item item)Converts a structurally typediteminto a nominally typed Java object.abstract Tcast(Item item, T object)Converts a structurally typediteminto a nominally typed Java object based on the provided prototypeobject.abstract Fieldfield()abstract Valuekey()-
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:FormConverts a structurally typediteminto a nominally typed Java object based on the provided prototypeobject. The passed-initemis assumed to be non-null. The passed-in prototypeobjectmay benull.
-
-