Java String Join JoinMaps(Map into, Map other)

Here you can find the source of JoinMaps(Map into, Map other)

Description

Join Maps

License

Open Source License

Declaration

public static void JoinMaps(Map into, Map other) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    public static void JoinMaps(Map into, Map other) {
        if (other == null)
            return;
        Iterator it = other.keySet().iterator();
        while (it.hasNext()) {
            Object prot = it.next();
            into.put(prot, other.get(prot));
        }//from ww  w .  j  a  va  2s  .  c om
    }
}

Related

  1. joinColumns(Iterable columns)
  2. joinedList(T first, T... others)
  3. joinIterable(Iterable element, String separator)
  4. joinMap(Map map)
  5. joinMap(String keyValueSeperator, String recordSeperator, Map map)
  6. joinPath(String part1, String part2)
  7. joinPaths(String... paths)
  8. joinRepeat(int size, String s, String delim)
  9. joinSplit(String record, String regex)