Package com.day.util

Class 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  
    • Constructor Summary

      Constructors 
      Constructor Description
      ListMap()  
      ListMap​(int size)  
    • Constructor Detail

      • ListMap

        public ListMap()
      • ListMap

        public ListMap​(int size)
    • 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)
      • isEmpty

        public boolean isEmpty()
      • clear

        public void clear()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object