org.erights.e.elib.slot
Class MapGuard

java.lang.Object
  |
  +--org.erights.e.elib.slot.BaseGuard
        |
        +--org.erights.e.elib.slot.MapGuard
All Implemented Interfaces:
Guard, SlotGuard, ValueGuard

public class MapGuard
extends BaseGuard

Safe:

Author:
Mark S. Miller

Field Summary
private  ListGuard myKeyColumnGuard
           
private  ListGuard myValColumnGuard
           
 
Fields inherited from class org.erights.e.elib.slot.BaseGuard
myOptValueGuard
 
Constructor Summary
MapGuard(ValueGuard keyGuard, ValueGuard valGuard)
          Enabled:
 
Method Summary
 Object coerce(Object specimen, OneArgFunc optEjector)
          Enabled:
 ValueGuard getKeyGuard()
          Enabled:
 String getName()
          Enabled:
 ValueGuard getValGuard()
          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

myKeyColumnGuard

private final ListGuard myKeyColumnGuard

myValColumnGuard

private final ListGuard myValColumnGuard
Constructor Detail

MapGuard

public MapGuard(ValueGuard keyGuard,
                ValueGuard valGuard)
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

getKeyGuard

public ValueGuard getKeyGuard()
Enabled:

Returns:

getValGuard

public ValueGuard getValGuard()
Enabled:

Returns:


comments?