Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.lang
Class Enum

    java.lang.Object
      org.jboss.lang.Enum

All Implemented Interfaces:
  Serializable

Direct Known Subclasses:
  Scope

public abstract class Enum
extends Object
implements Serializable

Base class for JDK 1.4 Enums

Version:
  $Revision: 1.3 $
Author:
  Bill Burke
See Also:
  Serialized Form

Field Summary
`protected String` | `name`
`protected int` | `ordinal`

Constructor Summary
`protected` | `Enum(String name, int ordinal)`

Method Summary
`boolean` | `equals(Object o)`
`int` | `hashCode()`
`String` | `name()`
`int` | `ordinal()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### name

    protected final transient String name

### ordinal

    protected final int ordinal

Constructor Detail

### Enum

    protected Enum(String name,
                   int ordinal)

Method Detail

### toString

    public String toString()

### name

    public String name()

### ordinal

    public int ordinal()

### equals

    public boolean equals(Object o)

### hashCode

    public int hashCode()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 JBoss Inc. All Rights Reserved.