Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

safejdbc.holder
Class IntHolder  view IntHolder download IntHolder.java

java.lang.Object
  extended bysafejdbc.holder.IntHolder

public class IntHolder
extends java.lang.Object

This class is designed to hold an int. It is useful to pass an int into and out of a code block such as a ResultSetProcessor or a FillingCommand. For an overview see the package overview.


Field Summary
private  int _value
           
 
Constructor Summary
IntHolder(int value)
           
 
Method Summary
 void add(int value)
           
 void decrement()
           
 int getValue()
           
 void increment()
           
 void setValue(int value)
           
 void subtract(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_value

private int _value
Constructor Detail

IntHolder

public IntHolder(int value)
Method Detail

increment

public void increment()

decrement

public void decrement()

getValue

public int getValue()

setValue

public void setValue(int value)

add

public void add(int value)

subtract

public void subtract(int value)