|
Oracle Security Developer Tools Crypto Java API Reference 10g (10.1.4.0.1) B28171-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.crypto.util.IntConstant
This class can be extended and used to hold a list of constant int values that have "meaning". Typically this class would be extended by an inner class of a class wishing to represent a fixed set of possible values for a particular property.
For an example on the correct usage of this pattern, see the Padding.ID class.
| Field Summary | |
protected int |
valueValue that this instance holds. |
| Constructor Summary | |
IntConstant(int value)Constructor that takes an int and sets it as the internally held value. |
|
| Method Summary | |
int |
getValue()Returns the internally held int value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final int value
| Constructor Detail |
public IntConstant(int value)
| Method Detail |
public int getValue()
|
Oracle Security Developer Tools Crypto Java API Reference 10g (10.1.4.0.1) B28171-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||