org.erights.e.meta.org.erights.e.elib.tables
Class EListGuardSugar
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.org.erights.e.elib.tables.EListGuardSugar
- All Implemented Interfaces:
- Auditor, Guard, Marker, Persistent, Serializable, SlotGuard, ValueGuard
- public class EListGuardSugar
- extends ClassDesc
Untamed: Refines the 'coerce/2' behavior of the EList type, so that it may be
useful as a ValueGuard (and as a SlotGuard).
- 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
EListGuardSugar
public EListGuardSugar(Class clazz)
- Enabled: @param clazz must be EList or a subtype
subCoerce
public Object subCoerce(Object specimen,
OneArgFunc optEjector)
- Enabled: Converts an array to a ConstList, and a String to a Twine.
- Overrides:
subCoerce
in class ClassDesc
comments?