A C E F G H M N O P R S T U

A

AbstractPair<FROM,TO> - Class in ral.util
 
AbstractPair(FROM, TO) - Constructor for class ral.util.AbstractPair
 
add(FROM, TO) - Method in interface ral.lang.SimpleRelationship
 
add(T) - Method in interface ral.lang.UniMultiRelationship
Adds a pair to the relationship.
add(T) - Method in class ral.util.HashRel
 
add(T) - Method in class ral.util.One2ManyHashRel
 
add(FixedPair<FROM, TO>) - Method in class ral.util.SimpleHashArrayRel
 
add(FROM, TO) - Method in class ral.util.SimpleHashArrayRel
 
add(FixedPair<FROM, TO>) - Method in class ral.util.SimpleHashRel
 
add(FROM, TO) - Method in class ral.util.SimpleHashRel
 
add(T) - Method in class ral.util.TreeHashRel
 
ArrayIterator<T> - Class in ral.util
 
ArrayIterator(T[]) - Constructor for class ral.util.ArrayIterator
 

C

clear(FROM) - Method in interface ral.lang.ReflexiveRelationship
Clears all pairs where p appears in either position.
clear(FROM) - Method in class ral.util.ReflexiveHashRel
 
clear(FROM) - Method in class ral.util.SimpleReflexiveHashArrayRel
 
clear(FROM) - Method in class ral.util.SimpleReflexiveHashRel
 
clearFrom(FROM) - Method in interface ral.lang.UniMultiRelationship
Clears all pairs with t in the TO position
clearFrom(FROM) - Method in class ral.util.HashRel
 
clearFrom(FROM) - Method in class ral.util.SimpleHashArrayRel
 
clearFrom(FROM) - Method in class ral.util.SimpleHashRel
 
clearTo(TO) - Method in interface ral.lang.MultiRelationship
Clears all pairs with t in the TO position
clearTo(TO) - Method in class ral.util.HashRel
 
clearTo(TO) - Method in class ral.util.SimpleHashArrayRel
 
clearTo(TO) - Method in class ral.util.SimpleHashRel
 
clone(FROM, TO) - Method in interface ral.lang.Pair
 
clone(FROM, TO) - Method in class ral.util.AbstractPair
 
clone(FROM, TO) - Method in class ral.util.FixedPair
 
copy(FROM, FROM) - Method in class ral.util.ReflexiveHashRel
 
copy(FROM, FROM) - Method in class ral.util.SimpleReflexiveHashArrayRel
 
copy(FROM, FROM) - Method in class ral.util.SimpleReflexiveHashRel
 
copyFrom(FROM, FROM) - Method in interface ral.lang.UniMultiRelationship
Copies all pairs with f in the FROM position, where the new pairs have t in the FROM position instead.
copyFrom(FROM, FROM) - Method in class ral.util.HashRel
 
copyFrom(FROM, FROM) - Method in class ral.util.SimpleHashArrayRel
 
copyFrom(FROM, FROM) - Method in class ral.util.SimpleHashRel
 
copyTo(TO, TO) - Method in interface ral.lang.MultiRelationship
Copies all pairs with f in the TO position, where the new pairs have t in the TO position instead.
copyTo(TO, TO) - Method in class ral.util.HashRel
 
copyTo(TO, TO) - Method in class ral.util.SimpleHashArrayRel
 
copyTo(TO, TO) - Method in class ral.util.SimpleHashRel
 

E

equals(Object) - Method in class ral.util.FixedPair
 

F

FixedPair<FROM,TO> - Class in ral.util
 
FixedPair(FROM, TO) - Constructor for class ral.util.FixedPair
 
from() - Method in interface ral.lang.Pair
 
from(FROM) - Method in interface ral.lang.Relationship
 
from(FROM) - Method in interface ral.lang.SimpleRelationship
 
from(FROM) - Method in interface ral.lang.UniMultiRelationship
Returns all objects t, such that there exists a pair
from(FROM) - Method in interface ral.lang.UniRelationship
 
from() - Method in class ral.util.AbstractPair
 
from() - Method in class ral.util.FixedPair
 
from(FROM) - Method in class ral.util.HashRel
 
from(FROM) - Method in class ral.util.SimpleHashArrayRel
 
from(FROM) - Method in class ral.util.SimpleHashRel
 
fromPairs(FROM) - Method in interface ral.lang.Relationship
 
fromPairs(FROM) - Method in interface ral.lang.UniMultiRelationship
Returns all pairs with f in the FROM position
fromPairs(FROM) - Method in interface ral.lang.UniRelationship
 
fromPairs(FROM) - Method in class ral.util.HashRel
 
fromPairs(FROM) - Method in class ral.util.SimpleHashArrayRel
 
fromPairs(FROM) - Method in class ral.util.SimpleHashRel
 

G

get(FROM, TO) - Method in interface ral.lang.UniMultiRelationship
Gets a Pair instance.
get(FROM, TO) - Method in class ral.util.HashRel
 
get(FROM, TO) - Method in class ral.util.SimpleHashArrayRel
 
get(FROM, TO) - Method in class ral.util.SimpleHashRel
 

H

hashCode() - Method in class ral.util.AbstractPair
 
hashCode() - Method in class ral.util.FixedPair
 
HashRel<FROM,TO,T extends Pair<FROM,TO>> - Class in ral.util
A HashRel represents a bidirectional relationship where pairs are stored internally using HashSets.
HashRel() - Constructor for class ral.util.HashRel
 
HashRel(Collection<? extends T>) - Constructor for class ral.util.HashRel
 
hasNext() - Method in class ral.util.ArrayIterator
 

M

MultiRelationship<FROM,TO,T extends Pair<FROM,TO>> - Interface in ral.lang
A multi relationship describes a bag of pairs between objects of the correspond FROM and TO types.

N

next() - Method in class ral.util.ArrayIterator
 

O

One2ManyHashRel<FROM,TO,T extends Pair<FROM,TO>> - Class in ral.util
 
One2ManyHashRel() - Constructor for class ral.util.One2ManyHashRel
 
One2ManyRelationship<FROM,TO,T extends Pair<FROM,TO>> - Interface in ral.lang
A One2ManyRelationship represents a relationship where any given object can only appear in the "from" position at most once.

P

Pair<FROM,TO> - Interface in ral.lang
Represents an "association instance" between a pair of objects.

R

ral.lang - package ral.lang
 
ral.util - package ral.util
 
ReflexiveHashRel<FROM,T extends Pair<FROM,FROM>> - Class in ral.util
 
ReflexiveHashRel() - Constructor for class ral.util.ReflexiveHashRel
 
ReflexiveRelationship<FROM,T extends Pair<FROM,FROM>> - Interface in ral.lang
A reflexive relationship represents the special case when FROM == TO.
Relationship<FROM,TO,T extends Pair<FROM,TO>> - Interface in ral.lang
A Relationship describes a set of pairs between objects of the correspond FROM and TO types.
remove(FROM, TO) - Method in interface ral.lang.SimpleRelationship
 
remove(Pair<FROM, TO>) - Method in interface ral.lang.UniMultiRelationship
Removes a pair instance
remove(FROM, TO) - Method in interface ral.lang.UniMultiRelationship
Removes a pair instance
remove() - Method in class ral.util.ArrayIterator
 
remove(Pair<FROM, TO>) - Method in class ral.util.HashRel
 
remove(FROM, TO) - Method in class ral.util.HashRel
 
remove(Pair<FROM, TO>) - Method in class ral.util.SimpleHashArrayRel
 
remove(FROM, TO) - Method in class ral.util.SimpleHashArrayRel
 
remove(Pair<FROM, TO>) - Method in class ral.util.SimpleHashRel
 
remove(FROM, TO) - Method in class ral.util.SimpleHashRel
 

S

SimpleHashArrayRel<FROM,TO> - Class in ral.util
 
SimpleHashArrayRel() - Constructor for class ral.util.SimpleHashArrayRel
 
SimpleHashArrayRel(Collection<? extends Pair<FROM, TO>>) - Constructor for class ral.util.SimpleHashArrayRel
 
SimpleHashRel<FROM,TO> - Class in ral.util
 
SimpleHashRel() - Constructor for class ral.util.SimpleHashRel
 
SimpleHashRel(Collection<? extends Pair<FROM, TO>>) - Constructor for class ral.util.SimpleHashRel
 
SimpleReflexiveHashArrayRel<FROM> - Class in ral.util
 
SimpleReflexiveHashArrayRel() - Constructor for class ral.util.SimpleReflexiveHashArrayRel
 
SimpleReflexiveHashRel<FROM> - Class in ral.util
 
SimpleReflexiveHashRel() - Constructor for class ral.util.SimpleReflexiveHashRel
 
SimpleRelationship<FROM,TO> - Interface in ral.lang
A simple relationship describes the case where no information is associated with each pair.

T

to(TO) - Method in interface ral.lang.MultiRelationship
Returns all objects f, such that there exists a pair
to() - Method in interface ral.lang.Pair
 
to(TO) - Method in interface ral.lang.Relationship
 
to(TO) - Method in interface ral.lang.SimpleRelationship
 
to() - Method in class ral.util.AbstractPair
 
to() - Method in class ral.util.FixedPair
 
to(TO) - Method in class ral.util.HashRel
 
to(TO) - Method in class ral.util.SimpleHashArrayRel
 
to(TO) - Method in class ral.util.SimpleHashRel
 
toPairs(TO) - Method in interface ral.lang.MultiRelationship
Returns all pairs with t in the TO position
toPairs(TO) - Method in interface ral.lang.Relationship
 
toPairs(TO) - Method in class ral.util.HashRel
 
toPairs(TO) - Method in class ral.util.SimpleHashArrayRel
 
toPairs(TO) - Method in class ral.util.SimpleHashRel
 
TreeHashRel<FROM,T extends Pair<FROM,FROM>> - Class in ral.util
 
TreeHashRel() - Constructor for class ral.util.TreeHashRel
 
TreeRelationship<FROM,T extends Pair<FROM,FROM>> - Interface in ral.lang
A tree relationship is a reflexive relationship with the added constraint that each node can have at most one parent.

U

UndirectedRelationship<FROM,T extends Pair<FROM,FROM>> - Interface in ral.lang
An undirected relationship corresponds to the notion of a directed graph from graph theory.
UniMultiRelationship<FROM,TO,T extends Pair<FROM,TO>> - Interface in ral.lang
An UniMultiRelationship relationship is a special MultiRelationship where only one direction of traversal is required.
UniRelationship<FROM,TO,T extends Pair<FROM,TO>> - Interface in ral.lang
A UniRelationship is a relationship supporting only one direction of traversal.

A C E F G H M N O P R S T U