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

Field Summary
private  ValueGuard[] myElemGuards
           
 
Fields inherited from class org.erights.e.elib.slot.BaseGuard
myOptValueGuard
 
Constructor Summary
TupleGuard(ValueGuard[] elemGuards)
          Enabled:
 
Method Summary
 Object coerce(Object specimen, OneArgFunc optEjector)
          Enabled:
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myElemGuards

private final ValueGuard[] myElemGuards
Constructor Detail

TupleGuard

public TupleGuard(ValueGuard[] elemGuards)
Enabled:

Method Detail

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?