Documentation of 'tig.Integers' Java class
Integers
tig

Class 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

      Constructors 
      Constructor and Description
      Integers() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, 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.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.