jtge.util.grid
Class GridUtil

java.lang.Object
  extended byjtge.util.grid.GridUtil

public final class GridUtil
extends java.lang.Object

Captures usefull primitives.

Version:
$Id: GridUtil.java,v 1.3 2005/09/08 00:01:25 mat007 Exp $
Author:
Jean-Laurent Fabre de Morlhon

Method Summary
static boolean even(int integer)
          Determine if a given int is even.
static boolean odd(int integer)
          Determine if a given int is odd.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

even

public static boolean even(int integer)
Determine if a given int is even.

Parameters:
integer - the int to check.
Returns:
true if integer is even; false otherwise.

odd

public static boolean odd(int integer)
Determine if a given int is odd.

Parameters:
integer - the int to check
Returns:
true if integer is odd; false otherwise


Copyright © 2003-2005 . All Rights Reserved.