ru.sstu.renju.core
Class RowUtil

java.lang.Object
  extended by ru.sstu.renju.core.RowUtil

public final class RowUtil
extends Object

RowUtil class contains methods for creating list of Row objects.

Since:
Renju 1.0
Author:
denis_murashev

Method Summary
static List<Row> longList(int i, int j)
          Provides long list of rows that contains given cell.
static List<Row> shortList(int i, int j)
          Provides short list of rows that can start at given cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shortList

public static List<Row> shortList(int i,
                                  int j)
Provides short list of rows that can start at given cell.

Parameters:
i - column
j - row
Returns:
list of rows

longList

public static List<Row> longList(int i,
                                 int j)
Provides long list of rows that contains given cell.

Parameters:
i - column
j - row
Returns:
list of rows


Copyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.