tig
Class Integers
- java.lang.Object
-
- tig.Integers
-
public abstract class Integers extends java.lang.ObjectClass containing utility static methods forintmanipulation.
See also : ClassStrings, which contains conversion methods between Strings and integers.
-
-
Constructor Summary
Constructors Constructor and Description Integers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleancontains(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.
-
-
-
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG