com.sleepycat.je.log
Enum LogEntryType.NodeType

java.lang.Object
  extended by java.lang.Enum<LogEntryType.NodeType>
      extended by com.sleepycat.je.log.LogEntryType.NodeType
All Implemented Interfaces:
Serializable, Comparable<LogEntryType.NodeType>
Enclosing class:
LogEntryType

static enum LogEntryType.NodeType
extends Enum<LogEntryType.NodeType>


Enum Constant Summary
IN
           
LN_INTERNAL
           
LN_USER
           
NONE
           
OLD_DUP
           
 
Method Summary
static LogEntryType.NodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LogEntryType.NodeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final LogEntryType.NodeType NONE

IN

public static final LogEntryType.NodeType IN

OLD_DUP

public static final LogEntryType.NodeType OLD_DUP

LN_INTERNAL

public static final LogEntryType.NodeType LN_INTERNAL

LN_USER

public static final LogEntryType.NodeType LN_USER
Method Detail

values

public static LogEntryType.NodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LogEntryType.NodeType c : LogEntryType.NodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LogEntryType.NodeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright (c) 2004-2012 Oracle. All rights reserved.