org.erights.e.meta.java.lang
Class ArrayGuardSugar
java.lang.Object
|
+--org.erights.e.elib.slot.BaseGuard
|
+--org.erights.e.elib.slot.BaseAuditor
|
+--org.erights.e.elib.base.TypeDesc
|
+--org.erights.e.elib.base.ClassDesc
|
+--org.erights.e.meta.java.lang.ArrayGuardSugar
- All Implemented Interfaces:
- Auditor, Guard, Marker, Persistent, Serializable, SlotGuard, ValueGuard
- public class ArrayGuardSugar
- extends ClassDesc
Untamed: Coerces arrays and ConstLists to the type 'T[]' (array of T), for some type
T, by coercing each element to T.
- Author:
- Mark S. Miller
- See Also:
- Serialized Form
Fields inherited from class org.erights.e.elib.base.ClassDesc |
|
Fields inherited from class org.erights.e.elib.base.TypeDesc |
|
Methods inherited from class org.erights.e.elib.base.ClassDesc |
asClass, byJavaRules, coerce, flatName, flatSig, get, get, isFloating, isIntegral, make, sig, sig, simpleName, simpleSig |
serialVersionUID
static final long serialVersionUID
ArrayGuardSugar
public ArrayGuardSugar(Class clazz)
- Enabled: @param clazz Must be an array class
subCoerce
public Object subCoerce(Object specimen,
OneArgFunc optEjector)
- Enabled:
- Overrides:
subCoerce
in class ClassDesc
comments?