org.erights.e.elib.serial
Class PassByCopyAuditor
java.lang.Object
|
+--org.erights.e.elib.slot.BaseGuard
|
+--org.erights.e.elib.slot.BaseAuditor
|
+--org.erights.e.elib.serial.PassByCopyAuditor
- All Implemented Interfaces:
- Auditor, Guard, SlotGuard, ValueGuard
- public class PassByCopyAuditor
- extends BaseAuditor
Untamed: The guard and auditor known as "PassByCopy".
- Author:
- Mark S. Miller
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 PassByCopyAuditor THE_ONE
- Enabled:
PassByCopyAuditor
private PassByCopyAuditor()
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 PassByCopy, ie, both Selfless and
PassByConstruction.
If the specimen can't be coerced, exit according to optEjector.
- Specified by:
coerce
in interface ValueGuard
- Overrides:
coerce
in class BaseAuditor
comments?