Package com.day.util
Class ListMap
- java.lang.Object
-
- com.day.util.ListMap
-
public class ListMap extends java.lang.Object
Simple implementation of a List which has elements also retreivable by a key.- Since:
- antbear Audience core
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ListMap.Entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
ListMap.Entry
get(int index)
java.lang.Object
get(java.lang.Object key)
ListMap.Entry
getLast()
boolean
isEmpty()
java.util.Iterator
iterator()
int
put(java.lang.Object key, java.lang.Object value)
int
size()
java.lang.String
toString()
-
-
-
Method Detail
-
size
public int size()
-
iterator
public java.util.Iterator iterator()
-
put
public int put(java.lang.Object key, java.lang.Object value)
-
get
public java.lang.Object get(java.lang.Object key)
-
get
public ListMap.Entry get(int index)
-
isEmpty
public boolean isEmpty()
-
clear
public void clear()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLast
public ListMap.Entry getLast()
-
-