gzz.client
Class Params

java.lang.Object
  |
  +--gzz.client.Params

public class Params
extends java.lang.Object

Static methods to read parameters of an object.


Field Summary
static boolean dbg
           
 
Constructor Summary
Params()
           
 
Method Summary
static Cell[] getCells(Cell start, Cell dim, int nmax, Obs obs)
           
static Cell[] getCells(Cell start, Dim dim, int nmax, Obs obs)
           
static int[] getInts(Cell start, Cell dim, int nmax, Obs obs)
          Get a list of integers in cells starting from start (INCLUSIVE).
static int[] getInts(Cell start, Dim dim, int nmax, Obs obs)
           
static Cell getNextParam(Cell c)
           
static Cell getNextParam(Cell c, Obs o)
           
static Cell getParam(Cell c, Cell param)
          Get a parameter of some cell.
static Cell getParam(Cell c, Cell param, Obs o)
           
static java.lang.String[] getStrings(Cell start, Cell dim, int nmax, Obs obs)
          Get a list of strings in cells starting from start (INCLUSIVE).
static java.lang.String[] getStrings(Cell start, Dim dim, int nmax, Obs obs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbg

public static boolean dbg
Constructor Detail

Params

public Params()
Method Detail

getParam

public static Cell getParam(Cell c,
                            Cell param)
Get a parameter of some cell. Poswards on c, there's supposed to be a list of clones of parameter types. When a clone of param is found, the cell one step poswards on d.1 is returned. Returns null if no value is found.


getParam

public static Cell getParam(Cell c,
                            Cell param,
                            Obs o)

getNextParam

public static Cell getNextParam(Cell c)

getNextParam

public static Cell getNextParam(Cell c,
                                Obs o)

getCells

public static Cell[] getCells(Cell start,
                              Cell dim,
                              int nmax,
                              Obs obs)

getCells

public static Cell[] getCells(Cell start,
                              Dim dim,
                              int nmax,
                              Obs obs)

getStrings

public static java.lang.String[] getStrings(Cell start,
                                            Cell dim,
                                            int nmax,
                                            Obs obs)
Get a list of strings in cells starting from start (INCLUSIVE).


getStrings

public static java.lang.String[] getStrings(Cell start,
                                            Dim dim,
                                            int nmax,
                                            Obs obs)

getInts

public static int[] getInts(Cell start,
                            Cell dim,
                            int nmax,
                            Obs obs)
Get a list of integers in cells starting from start (INCLUSIVE).


getInts

public static int[] getInts(Cell start,
                            Dim dim,
                            int nmax,
                            Obs obs)