Class IntHolder

  • All Implemented Interfaces:
    Holder

    public final class IntHolder
    extends java.lang.Object
    implements Holder
    Holder for ints.
    Version:
    $Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int value
      The int contained by this holder.
    • Constructor Summary

      Constructors 
      Constructor Description
      IntHolder()
      Make a new IntHolder with a null value.
      IntHolder​(int value)
      Make a new IntHolder with value as the value.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        public int value
        The int contained by this holder.
    • Constructor Detail

      • IntHolder

        public IntHolder()
        Make a new IntHolder with a null value.
      • IntHolder

        public IntHolder​(int value)
        Make a new IntHolder with value as the value.
        Parameters:
        value - the int to hold