From 51b7fbe822bd9a3804c061f0b844884769d7ddba Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Wed, 6 Jul 2011 16:36:06 +0200 Subject: Javadoc git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@609 72836036-5685-4462-b002-a69064685172 --- doc/jrummikub/util/class-use/Pair.html | 230 +++++++++++++++++++++++++++++++-- 1 file changed, 217 insertions(+), 13 deletions(-) (limited to 'doc/jrummikub/util/class-use/Pair.html') diff --git a/doc/jrummikub/util/class-use/Pair.html b/doc/jrummikub/util/class-use/Pair.html index 3e02241..b672399 100644 --- a/doc/jrummikub/util/class-use/Pair.html +++ b/doc/jrummikub/util/class-use/Pair.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.util.Pair - + @@ -94,6 +94,10 @@ Packages that use +jrummikub.control.turn +   + + jrummikub.model    @@ -118,14 +122,61 @@ Uses of + +Methods in jrummikub.control that return Pair + + + +private static Pair<java.lang.Integer,java.lang.Integer> +RoundControl.updateBestScore(Pair<java.lang.Integer,java.lang.Integer> bestScore, + int stonePoints, + int size) + +
+          Update the best score to find the winner in case of special game end + (everybody still has stones on hand) + + +  +

+ + + +
Methods in jrummikub.control with parameters of type Pair
+private static Pair<java.lang.Integer,java.lang.Integer>RoundControl.updateBestScore(Pair<java.lang.Integer,java.lang.Integer> bestScore, + int stonePoints, + int size) + +
+          Update the best score to find the winner in case of special game end + (everybody still has stones on hand)
+  +

+ + + + + +
+Uses of Pair in jrummikub.control.turn
+  +

+ + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.turn with parameters of type Pair
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -134,7 +185,7 @@ Uses of
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -159,6 +210,14 @@ Uses of
+private static java.util.Comparator<Pair<java.lang.Integer,StoneColor>>Hand.comparator + +
+          The measure to compare the stones by
protected  java.util.HashMap<E,Pair<E,Position>> StoneTray.objects @@ -175,6 +234,32 @@ Uses of + Pair<StoneSet.Type,java.lang.Integer>StoneSet.classify(GameSettings settings) + +
+          Test for rule conflict within the StoneSet and determine whether the set is + a group or a run
+private  Pair<StoneSet.Type,java.lang.Integer>StoneSet.classifyJokersOnly(GameSettings settings) + +
+          Test for rule conflict within a StoneSet with jokers only and determine + whether the set is a group or a run
+private static Pair<java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer>,java.lang.Integer>Hand.countStones(java.util.List<Stone> stones) + +
+          Counts the numbers of stones
protected  Pair<Position,StoneTray.Direction> StoneTray.fixInvalidDrop(E object, Position pos, @@ -213,6 +298,14 @@ Uses of +private static Pair<java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer>,java.lang.Integer>Hand.countStones(java.util.List<Stone> stones) + +
+          Counts the numbers of stones
 java.util.Iterator<Pair<E,Position>> StoneTray.iterator() @@ -222,6 +315,60 @@ Uses of +
Methods in jrummikub.model with parameters of type Pair
+private  StoneTray.DirectionStoneTray.getMoveDirection(E object, + Position position, + Pair<E,Position> blocking) + +
+          Returns the direction to move the object in
+private  booleanStoneTray.getMoveOrientation(E object, + Position position, + Pair<E,Position> blocking) + +
+          Will the object be moved horizontally or vertically
+private static voidHand.incrementStoneCount(java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer> stones, + Pair<java.lang.Integer,StoneColor> stone) + +
+          Increments the count of a stone in the list of all stones
+  +

+ + + + + + + + + +
Method parameters in jrummikub.model with type arguments of type Pair
+private static voidHand.incrementStoneCount(java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer> stones, + Pair<java.lang.Integer,StoneColor> stone) + +
+          Increments the count of a stone in the list of all stones
+  +

@@ -265,23 +412,63 @@ Uses of + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl with type parameters of type Pair
+private  java.util.List<Pair<StoneSet,Position>>TablePanel.pauseStoneSets + +
+           
+private  java.lang.Iterable<Pair<Stone,Position>>AbstractStonePanel.stones + +
+           
+private  java.lang.Iterable<Pair<StoneSet,Position>>TablePanel.stoneSets + +
+           
+  +

+ - + +          Counts the empty slots for network players in a game + + + + @@ -293,6 +480,15 @@ Uses of + + +
Methods in jrummikub.view.impl that return Pair
-protected  Pair<java.lang.Integer,java.lang.Integer>AbstractStonePanel.getTranslation() +private static Pair<java.lang.Integer,java.lang.Integer>GameListPanel.getPlayerSlotCount(GameData gameData)
-          Returns the translation in pixels the stones in this panel are painted with
protected  Pair<java.lang.Integer,java.lang.Integer> StoneCollectionPanel.getTranslation() +
+           
+ Pair<java.lang.Integer,java.lang.Integer>HandPanel.getTranslation() +
           
+protected  Pair<java.lang.Integer,java.lang.Integer>AbstractStonePanel.getTranslation() + +
+          Returns the translation in pixels the stones in this panel are painted + with
 

@@ -303,6 +499,14 @@ Uses of +private  java.util.List<Pair<Stone,Position>> +View.createDecorationStones() + +
+            + + + protected  java.lang.Iterable<Pair<Stone,Position>> AbstractStonePanel.getStones() @@ -319,19 +523,19 @@ Uses of -protected  void -AbstractStonePanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones) + void +HandPanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones)
-          Sets the list of stones that can be clicked on +            - 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 -- cgit v1.2.3