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.


Constructor Index

 o ReverseRank()

Method Index

 o addInternal(Atom)
Internal routine so overloading add()'s don't get confused
 o argument(String)
The argument to a container is the class to constrain contained objects to
 o containsAtAll(Player)
 o doesImply(Rank)
 o establish(Player)
Given that the player is now linked into this Group, he's online, so we're going to link him in
 o getImplications()
 o getImplies()
 o getTargets()
 o isOutRankedBy(Rank)
 o removeInternal(Atom)
 o 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.

Constructors

 o ReverseRank
 public ReverseRank()

Methods

 o argument
 public void argument(String args)
The argument to a container is the class to constrain contained objects to

Overrides:
argument in class Rank
 o addInternal
 protected void addInternal(Atom added) throws BadKeyException, NonUniqueKeyException
Internal routine so overloading add()'s don't get confused

Overrides:
addInternal in class Rank
 o removeInternal
 protected void removeInternal(Atom removed) throws NonUniqueKeyException, NoSuchElementException, BadKeyException
Overrides:
removeInternal in class Rank
 o 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
 o doesImply
 public boolean doesImply(Rank r)
Overrides:
doesImply in class Rank
 o isOutRankedBy
 public boolean isOutRankedBy(Rank rank)
Overrides:
isOutRankedBy in class Rank
 o getTargets
 public Targets getTargets()
Overrides:
getTargets in class Rank
 o getImplications
 public Enumeration getImplications()
Overrides:
getImplications in class Rank
 o getImplies
 public Implications getImplies()
Overrides:
getImplies in class Rank
 o 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
 o containsAtAll
 public boolean containsAtAll(Player p)
Overrides:
containsAtAll in class Rank

All Packages  Class Hierarchy  This Package  Previous  Next  Index