JEphem site
jephem API
Build classes

tig
Class Integers

java.lang.Object
  |
  +--tig.Integers

public abstract class Integers
extends java.lang.Object

Class containing utility static methods for int manipulation.
See also : Class Strings, which contains conversion methods between Strings and integers.


Constructor Summary
Integers()
           
 
Method Summary
static boolean contains(int[] intArray, int value)
          Indicates if 'value' is contained in 'intArray'.
static int[] copyFrom(int[] intArray)
          Returns an array of int which is a copy of the array passed in parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Integers

public Integers()
Method Detail

contains

public static boolean contains(int[] intArray,
                               int value)
Indicates if 'value' is contained in 'intArray'.


copyFrom

public static int[] copyFrom(int[] intArray)
Returns an array of int which is a copy of the array passed in parameter.
There is probably a way to do this with the JDK, but I haven't found it.

Parameters:
intArray - The int[] which is copied.

JEphem site
jephem API
Build classes