Uses of Class
jrummikub.util.Pair

Packages that use Pair
jrummikub.control   
jrummikub.model   
jrummikub.view   
jrummikub.view.impl   
 

Uses of Pair in jrummikub.control
 

Methods in jrummikub.control with parameters of type Pair
 int TurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
           
 int TurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
           
 

Uses of Pair in jrummikub.model
 

Fields in jrummikub.model with type parameters of type Pair
protected  java.util.HashMap<E,Pair<E,Position>> StoneTray.objects
           
 

Methods in jrummikub.model that return Pair
protected  Pair<Position,StoneTray.Direction> StoneTray.fixInvalidDrop(E object, Position pos, StoneTray.Direction dir)
          Checks whether the object may be placed on the given position, computes new position if not
protected  Pair<Position,StoneTray.Direction> Hand.fixInvalidDrop(Stone stone, Position pos, StoneTray.Direction dir)
           
 Pair<StoneSet,StoneSet> StoneSet.splitAt(int position)
          Splits the StoneSet at a specified Position and returns two new Stone Sets
 

Methods in jrummikub.model that return types with arguments of type Pair
 java.util.Iterator<Pair<E,Position>> StoneTray.iterator()
           
 

Uses of Pair in jrummikub.view
 

Method parameters in jrummikub.view with type arguments of type Pair
 void IHandPanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones)
          Set the player's stones to display on the board
 void ITablePanel.setStoneSets(java.lang.Iterable<Pair<StoneSet,Position>> stoneSets)
          Sets the stone sets lying on the table
 

Uses of Pair in jrummikub.view.impl
 

Methods in jrummikub.view.impl that return Pair
protected  Pair<java.lang.Integer,java.lang.Integer> StoneCollectionPanel.getTranslation()
           
protected  Pair<java.lang.Integer,java.lang.Integer> TablePanel.getTranslation()
           
protected  Pair<java.lang.Integer,java.lang.Integer> AbstractStonePanel.getTranslation()
          Returns the translation in pixels the stones in this panel are painted with
 

Methods in jrummikub.view.impl that return types with arguments of type Pair
protected  java.lang.Iterable<Pair<Stone,Position>> AbstractStonePanel.getStones()
          Returns the list of stones and positions currently set
 

Method parameters in jrummikub.view.impl with type arguments of type Pair
 void HandPanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones)
           
protected  void AbstractStonePanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones)
          Sets the list of stones that can be clicked on
 void TablePanel.setStoneSets(java.lang.Iterable<Pair<StoneSet,Position>> stoneSets)