All Packages Class Hierarchy This Package Previous Next Index
Class key.ReverseRank
java.lang.Object
|
+----key.Atom
|
+----key.Container
|
+----key.Scape
|
+----key.Group
|
+----key.Rank
|
+----key.ReverseRank
- public class ReverseRank
- extends Rank
A specialised group that has 'implies' as
well as the ability to use a 'joined'
type effect for another scape. elements()
and contains() are not overridden, so
they don't always return the _true_ values
that they could.
-
ReverseRank()
-
-
addInternal(Atom)
- Internal routine so overloading add()'s don't get confused
-
argument(String)
- The argument to a container is the class to constrain
contained objects to
-
containsAtAll(Player)
-
-
doesImply(Rank)
-
-
establish(Player)
- Given that the player is now linked into this Group,
he's online, so we're going to link him in
-
getImplications()
-
-
getImplies()
-
-
getTargets()
-
-
isOutRankedBy(Rank)
-
-
removeInternal(Atom)
-
-
removeInternal(Atom, Rank)
- This routine removes the atom 'removed' from this rank,
ensure that it isn't in this rank in any way, shape, or
form.
ReverseRank
public ReverseRank()
argument
public void argument(String args)
- The argument to a container is the class to constrain
contained objects to
- Overrides:
- argument in class Rank
addInternal
protected void addInternal(Atom added) throws BadKeyException, NonUniqueKeyException
- Internal routine so overloading add()'s don't get confused
- Overrides:
- addInternal in class Rank
removeInternal
protected void removeInternal(Atom removed) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
- Overrides:
- removeInternal in class Rank
removeInternal
protected void removeInternal(Atom removed,
Rank s) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
- This routine removes the atom 'removed' from this rank,
ensure that it isn't in this rank in any way, shape, or
form. It will then re-add the player to any ranks that
this rank implies, except for rank s (which may be null).
- Overrides:
- removeInternal in class Rank
doesImply
public boolean doesImply(Rank r)
- Overrides:
- doesImply in class Rank
isOutRankedBy
public boolean isOutRankedBy(Rank rank)
- Overrides:
- isOutRankedBy in class Rank
getTargets
public Targets getTargets()
- Overrides:
- getTargets in class Rank
getImplications
public Enumeration getImplications()
- Overrides:
- getImplications in class Rank
getImplies
public Implications getImplies()
- Overrides:
- getImplies in class Rank
establish
public void establish(Player p) throws BadKeyException, NonUniqueKeyException
- Given that the player is now linked into this Group,
he's online, so we're going to link him in
- Overrides:
- establish in class Rank
containsAtAll
public boolean containsAtAll(Player p)
- Overrides:
- containsAtAll in class Rank
All Packages Class Hierarchy This Package Previous Next Index