railo.commons.collections
Class LongKeyList
java.lang.Object
railo.commons.collections.LongKeyList
public final class LongKeyList
- extends Object
class to fill objects, objetcs will be sorted by long key.
Constructor Summary |
LongKeyList()
constructor of the class |
LongKeyList
public LongKeyList()
- constructor of the class
add
public void add(long key,
Object value)
- adds a new object to the stack
- Parameters:
key
- key as longvalue
- object to fill
shift
public Object shift()
- Returns:
- returns the first object in stack
pop
public Object pop()
- Returns:
- returns the last object in Stack
get
public Object get(long key)
- Parameters:
key
- key to value
- Returns:
- returns the value to the key
Copyright © 2012 Railo