Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 15th, 2012  |  syntax: None  |  size: 0.53 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Creation of a map from another map in Java
  2. A.B.Key    = "Key"
  3. A.B.Value  = "Value"
  4. A.B.Key1   = "Key1"
  5. A.B.Value1 = "Value1"
  6. A.B.Key2   = "Key2"
  7. A.B.Value2 = "Value2"
  8.        
  9. Key  = Value
  10. Key1 = Value1
  11. Key2 = Value2
  12.        
  13. <A>
  14.   <B>
  15.     <Key> Key </Key>
  16.     <Value> Value </Value>
  17.   </B>
  18.   <B>
  19.     <Key> Key1 </Key>
  20.     <Value> Value1 </Value>
  21.   </B>
  22.   <B>
  23.     <Key> Key2 </Key>
  24.     <Value> Value2 </Value2>
  25.   </B>
  26. </A>
  27.        
  28. A.B.Key2   = "Key2"
  29. A.B.Key    = "Key"
  30. A.B.Value  = "Value"
  31. A.B.Value1 = "Value1"
  32. A.B.Value3 = "Value2"
  33. A.B.Key1   = "Key1"