ral.util
Class SimpleReflexiveHashArrayRel<FROM>

java.lang.Object
  extended by ral.util.SimpleHashArrayRel<FROM,FROM>
      extended by ral.util.SimpleReflexiveHashArrayRel<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 SimpleReflexiveHashArrayRel<FROM>
extends SimpleHashArrayRel<FROM,FROM>
implements SimpleRelationship<FROM,FROM>, ReflexiveRelationship<FROM,FixedPair<FROM,FROM>>


Constructor Summary
SimpleReflexiveHashArrayRel()
           
 
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.SimpleHashArrayRel
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

SimpleReflexiveHashArrayRel

public SimpleReflexiveHashArrayRel()
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)