Class MAP


  • public class MAP
    extends java.lang.Object
    Easy way to build a map: Map s = MAP.$("a",2).$("b",3);
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MAP.MAPX<K,​V>  
    • Constructor Summary

      Constructors 
      Constructor Description
      MAP()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <Kx,​Vx>
      MAP.MAPX<Kx,​Vx>
      $​(Kx key, Vx value)  
      <K,​V>
      java.util.Map<K,​V>
      dictionary​(java.util.Dictionary<K,​V> dict)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MAP

        public MAP()
    • Method Detail

      • $

        public static <Kx,​Vx> MAP.MAPX<Kx,​Vx> $​(Kx key,
                                                            Vx value)
      • dictionary

        public <K,​V> java.util.Map<K,​V> dictionary​(java.util.Dictionary<K,​V> dict)