1 6 package com.hp.hpl.jena.util; 7 8 import java.util.*; 9 10 15 public class HashUtils 16 { 17 public static Map createMap() { return new HashMap(); } 18 19 public static Map createMap( int size ) { return new HashMap( size ); } 20 21 public static Map createMap( Map toCopy ) { return new HashMap( toCopy ); } 22 23 public static Set createSet() { return new HashSet(); } 24 25 public static Set createSet( Collection toCopy ) { return new HashSet( toCopy ); } 26 } 27 28 29 | Popular Tags |