Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle Security Developer Tools Crypto Java API Reference 10g Release 3 (10.1.3) B25378-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.security.crypto.util
Class IntConstant

`java.lang.Object
oracle.security.crypto.util.IntConstant`

Direct Known Subclasses:
  Padding.ID

public class IntConstant
extends java.lang.Object

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.

Since:
  2.2

Field Summary
`protected int` | `value` Value 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

### value

    protected final int value

  Value that this instance holds.

Constructor Detail

### IntConstant

    public IntConstant(int value)

  Constructor that takes an int and sets it as the internally held value.

Method Detail

### getValue

    public int getValue()

  Returns the internally held int value.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle Security Developer Tools Crypto Java API Reference 10g Release 3 (10.1.3) B25378-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005, 2006 , Oracle. All rights reserved.