@SafeVarargs
	public static <K, V> Map<K, V> ofEntries(Map.Entry<K, V>... entries) {
		final Map<K, V> map = new HashMap<>();
		for (Map.Entry<K, V> pair : entries) {
			map.put(pair.getKey(), pair.getValue());
		}
		return map;
	}
@Test
	public void ofEntriesTest(){
		final Map<String, Integer> map = MapUtil.ofEntries(MapUtil.entry("a", 1), MapUtil.entry("b", 2));
		assertEquals(2, map.size());

		assertEquals(Integer.valueOf(1), map.get("a"));
		assertEquals(Integer.valueOf(2), map.get("b"));
	}