org.erights.e.elib.serial
Class DeepPassByCopyAuditor
java.lang.Object
|
+--org.erights.e.elib.slot.BaseGuard
|
+--org.erights.e.elib.slot.BaseAuditor
|
+--org.erights.e.elib.serial.DeepPassByCopyAuditor
- All Implemented Interfaces:
- Auditor, Guard, SlotGuard, ValueGuard
- public class DeepPassByCopyAuditor
- extends BaseAuditor
Untamed: The guard and auditor known as "DeepPassByCopy".
- Author:
- Mark S. Miller
Method Summary |
Object |
coerce(Object specimen,
OneArgFunc optEjector)
Enabled: Coerces specimen to be DeepPassByCopy, which includes types that
are not Java-subtypes of DeepPassByCopy. |
String |
getName()
Enabled: |
Methods inherited from class org.erights.e.elib.slot.BaseGuard |
__printOn, accepts, and, butNot, coerce, get, makeSlot, makeSlot, not, or, toString, xor |
THE_ONE
public static final DeepPassByCopyAuditor THE_ONE
- Enabled:
DeepPassByCopyAuditor
private DeepPassByCopyAuditor()
getName
public String getName()
- Enabled:
- Specified by:
getName
in interface SlotGuard
- Overrides:
getName
in class BaseGuard
coerce
public Object coerce(Object specimen,
OneArgFunc optEjector)
- Enabled: Coerces specimen to be DeepPassByCopy, which includes types that
are not Java-subtypes of DeepPassByCopy.
If the specimen can't be coerced, exit according to optEjector.
- Specified by:
coerce
in interface ValueGuard
- Overrides:
coerce
in class BaseAuditor
comments?