ral.util
Class SimpleReflexiveHashRel<FROM>

java.lang.Object
  extended by ral.util.SimpleHashRel<FROM,FROM>
      extended by ral.util.SimpleReflexiveHashRel<FROM>
All Implemented Interfaces:
MultiRelationship<FROM,FROM,FixedPair<FROM,FROM>>, ReflexiveRelationship<FROM,FixedPair<FROM,FROM>>, SimpleRelationship<FROM,FROM>, UniMultiRelationship<FROM,FROM,FixedPair<FROM,FROM>>

public class SimpleReflexiveHashRel<FROM>
extends SimpleHashRel<FROM,FROM>
implements SimpleRelationship<FROM,FROM>, ReflexiveRelationship<FROM,FixedPair<FROM,FROM>>


Constructor Summary
SimpleReflexiveHashRel()
           
 
Method Summary
 void clear(FROM f)
          Clears all pairs where p appears in either position.
 void copy(FROM f, FROM t)
           
 
Methods inherited from class ral.util.SimpleHashRel
add, add, clearFrom, clearTo, copyFrom, copyTo, from, fromPairs, get, remove, remove, to, toPairs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ral.lang.SimpleRelationship
add, from, remove, to
 
Methods inherited from interface ral.lang.MultiRelationship
clearTo, copyTo, toPairs
 
Methods inherited from interface ral.lang.UniMultiRelationship
add, clearFrom, copyFrom, fromPairs, get, remove
 
Methods inherited from interface ral.lang.MultiRelationship
clearTo, copyTo, toPairs
 
Methods inherited from interface ral.lang.UniMultiRelationship
add, clearFrom, copyFrom, fromPairs, get, remove
 

Constructor Detail

SimpleReflexiveHashRel

public SimpleReflexiveHashRel()
Method Detail

clear

public void clear(FROM f)
Description copied from interface: ReflexiveRelationship
Clears all pairs where p appears in either position.

Specified by:
clear in interface ReflexiveRelationship<FROM,FixedPair<FROM,FROM>>

copy

public void copy(FROM f,
                 FROM t)