@Test public void testCloneUnmodAndUnmodAsMod(){ Properties a = make(MAP_A, null, UNMODIFIABLE); Properties b = make(MAP_B, null, UNMODIFIABLE); a = PropertiesUtils.clone(a, b, !DEEP_CLONE); assertTrue(verifyProps(a, LIST_AB)); }
public static Properties clone( Properties props ) { return clone(props, null, false); }
PropertiesUtils { public static Properties clone( Properties props ) { return clone(props, null, false); } }
PropertiesUtils { public static Properties clone( Properties props ) { return clone(props, null, false); }  }
PropertiesUtils { public static Properties clone( Properties props ) { return clone(props, null, false); }  static Properties clone( Properties props ); static Properties clone( Properties props, Properties defaults, boolean deepClone ); static void putAll(Properties addToThis,
                              Properties withThese); static int getIntProperty(Properties props, String propName, int defaultValue); static long getLongProperty(Properties props, String propName, long defaultValue); static float getFloatProperty(Properties props, String propName, float defaultValue); static double getDoubleProperty(Properties props, String propName, double defaultValue); static boolean getBooleanProperty(Properties props, String propName, boolean defaultValue); static Properties load(String fileName); static char toHex(int nibble); static String toHex(byte[] bytes); static byte[] fromHex(String hex); static void toHex(StringBuilder sb, InputStream is); static void setBeanProperties(Object bean, Properties props, String prefix); static void setBeanProperties(Object bean, Properties props, String prefix, boolean includeEnv); static void setBeanProperty(Object bean, String name, Object value); static String getHierarchicalProperty(String key, String defaultValue); static T getHierarchicalProperty(String key, T defaultValue, Class<T> clazz); static Properties getDefaultProperties(); }
PropertiesUtils { public static Properties clone( Properties props ) { return clone(props, null, false); }  static Properties clone( Properties props ); static Properties clone( Properties props, Properties defaults, boolean deepClone ); static void putAll(Properties addToThis,
                              Properties withThese); static int getIntProperty(Properties props, String propName, int defaultValue); static long getLongProperty(Properties props, String propName, long defaultValue); static float getFloatProperty(Properties props, String propName, float defaultValue); static double getDoubleProperty(Properties props, String propName, double defaultValue); static boolean getBooleanProperty(Properties props, String propName, boolean defaultValue); static Properties load(String fileName); static char toHex(int nibble); static String toHex(byte[] bytes); static byte[] fromHex(String hex); static void toHex(StringBuilder sb, InputStream is); static void setBeanProperties(Object bean, Properties props, String prefix); static void setBeanProperties(Object bean, Properties props, String prefix, boolean includeEnv); static void setBeanProperty(Object bean, String name, Object value); static String getHierarchicalProperty(String key, String defaultValue); static T getHierarchicalProperty(String key, T defaultValue, Class<T> clazz); static Properties getDefaultProperties();  }