public enum SessionMapEntry extends Enum<SessionMapEntry>
Enum Constant and Description |
---|
ATTRIBUTES |
METADATA |
TIMESTAMP |
VERSION |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Map<Object,Object> map)
Returns the value associated with this atomic map entry.
|
<T> T |
put(Map<Object,Object> map,
Object value)
Add this entry to the specified map if the specified value is non-null.
|
static SessionMapEntry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionMapEntry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionMapEntry VERSION
public static final SessionMapEntry TIMESTAMP
public static final SessionMapEntry METADATA
public static final SessionMapEntry ATTRIBUTES
public static SessionMapEntry[] values()
for (SessionMapEntry c : SessionMapEntry.values()) System.out.println(c);
public static SessionMapEntry valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic <T> T get(Map<Object,Object> map)
T
- the value typemap
- an atomic mappublic <T> T put(Map<Object,Object> map, Object value) throws IllegalArgumentException
T
- the value typemap
- an atomic mapvalue
- the entry valueIllegalArgumentException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.