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/model/StoneHeap.html | 71 +++++++++++++++++++++++++++++++++----- 1 file changed, 63 insertions(+), 8 deletions(-) (limited to 'doc/jrummikub/model/StoneHeap.html') diff --git a/doc/jrummikub/model/StoneHeap.html b/doc/jrummikub/model/StoneHeap.html index 35429a0..e0eb1ee 100644 --- a/doc/jrummikub/model/StoneHeap.html +++ b/doc/jrummikub/model/StoneHeap.html @@ -2,12 +2,12 @@ - + StoneHeap - + @@ -95,9 +95,12 @@ Class StoneHeap java.lang.Object extended by jrummikub.model.StoneHeap +
+
All Implemented Interfaces:
java.io.Serializable
+

-
public class StoneHeap
extends java.lang.Object
+
public class StoneHeap
extends java.lang.Object
implements java.io.Serializable

@@ -106,6 +109,8 @@ StoneHeap creates all Serialized Form


@@ -119,9 +124,25 @@ StoneHeap creates all -(package private)  java.util.List<Stone> +private  java.util.Random +generator + +
+            + + + +(package private)  java.util.ArrayList<Stone> heap +
+            + + + +private static long +serialVersionUID +
            @@ -136,7 +157,7 @@ StoneHeap creates all -StoneHeap() +StoneHeap(GameSettings gameSettings)
          Creates 106 Stones according to standard rules @@ -206,10 +227,30 @@ StoneHeap creates all

+serialVersionUID

+
+private static final long serialVersionUID
+
+
+
See Also:
Constant Field Values
+
+
+

heap

-java.util.List<Stone> heap
+java.util.ArrayList<Stone> heap +
+
+
+
+
+ +

+generator

+
+private java.util.Random generator
@@ -225,13 +266,15 @@ java.util.List<

+

StoneHeap

-public StoneHeap()
+public StoneHeap(GameSettings gameSettings)
Creates 106 Stones according to standard rules

+

+
Parameters:
gameSettings - (for number of sets/jokers, colors etc.)
@@ -252,6 +295,9 @@ public Stone from the heap and returns it

+
+
+
Returns:
the drawn stone
@@ -266,6 +312,9 @@ public java.util.List<Stones from the heap and returns them

+
+
+
Parameters:
number - number of requested Stones
Returns:
list of drawn stones
@@ -280,6 +329,9 @@ public int getSize()
Get the number of stones left

+
+
+
Returns:
number of stones on the heap
@@ -294,6 +346,9 @@ public void putBack(java.util.Collection<