org.erights.e.elib.slot
Class TupleGuard
java.lang.Object
|
+--org.erights.e.elib.slot.BaseGuard
|
+--org.erights.e.elib.slot.TupleGuard
- All Implemented Interfaces:
- Guard, SlotGuard, ValueGuard
- public class TupleGuard
- extends BaseGuard
Safe:
- 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 |
myElemGuards
private final ValueGuard[] myElemGuards
TupleGuard
public TupleGuard(ValueGuard[] elemGuards)
- Enabled:
coerce
public Object coerce(Object specimen,
OneArgFunc optEjector)
- Enabled:
- Specified by:
coerce in interface ValueGuard- Overrides:
coerce in class BaseGuard
getName
public String getName()
- Enabled:
- Specified by:
getName in interface SlotGuard- Overrides:
getName in class BaseGuard
comments?