de.uni_paderborn.robots.gui
Class StatisticPanel.CardVal

java.lang.Object
  |
  +--de.uni_paderborn.robots.gui.StatisticPanel.CardVal
Enclosing class:
StatisticPanel

class StatisticPanel.CardVal
extends java.lang.Object

inner class for storing the cards of the robots


Field Summary
private  int[] cards
          array which realizes an efficient access to the cards
 
Constructor Summary
StatisticPanel.CardVal()
          default constructor which sets no array
StatisticPanel.CardVal(int[] v)
          constructor which sets the card-array
 
Method Summary
 int[] getCardVal()
          method which returns the reference to the current card array
 void setCardVal(int[] v)
          method which sets the card-array
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

cards

private int[] cards
array which realizes an efficient access to the cards
Constructor Detail

StatisticPanel.CardVal

public StatisticPanel.CardVal(int[] v)
constructor which sets the card-array
Parameters:
v - a reference the array of cards

StatisticPanel.CardVal

public StatisticPanel.CardVal()
default constructor which sets no array
Method Detail

setCardVal

public void setCardVal(int[] v)
method which sets the card-array
Parameters:
v - a reference the new array of cards

getCardVal

public int[] getCardVal()
method which returns the reference to the current card array
Returns:
reference to the int-array of cards