@Test public void testToString() { }
@Override public String toString() { Set<Entry<Object, Object>> entries = entrySet(); Iterator<Entry<Object, Object>> it = entries.iterator(); StringBuilder string = new StringBuilder(); while (it.hasNext()) { Entry<Object, Object> entry = it.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); string.append(key + "=" + value + "; "); } return string.toString(); }
Config implements Serializable { @Override public String toString() { Set<Entry<Object, Object>> entries = entrySet(); Iterator<Entry<Object, Object>> it = entries.iterator(); StringBuilder string = new StringBuilder(); while (it.hasNext()) { Entry<Object, Object> entry = it.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); string.append(key + "=" + value + "; "); } return string.toString(); } }
Config implements Serializable { @Override public String toString() { Set<Entry<Object, Object>> entries = entrySet(); Iterator<Entry<Object, Object>> it = entries.iterator(); StringBuilder string = new StringBuilder(); while (it.hasNext()) { Entry<Object, Object> entry = it.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); string.append(key + "=" + value + "; "); } return string.toString(); }  }
Config implements Serializable { @Override public String toString() { Set<Entry<Object, Object>> entries = entrySet(); Iterator<Entry<Object, Object>> it = entries.iterator(); StringBuilder string = new StringBuilder(); while (it.hasNext()) { Entry<Object, Object> entry = it.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); string.append(key + "=" + value + "; "); } return string.toString(); }  String getXmlFile(); @XmlTransient void setXmlFile(File file); void setXmlFile(String name); void setProperty(String key, String value); String getProperty(String key); Tuples getTuples(); Set<Entry<Object, Object>> entrySet(); void put(Object key, Object value); String getStringProperty(String key, String defaultValue); int getIntProperty(String key, int defaultValue); boolean getBooleanProperty(String key, boolean defaultValue); double getDoubleProperty(String key, double defaultValue); ArrayList<URL> getUrlListProperty(String key); ArrayList<String> getPathListProperty(String key); Properties getProperties(); @Override String toString(); }
Config implements Serializable { @Override public String toString() { Set<Entry<Object, Object>> entries = entrySet(); Iterator<Entry<Object, Object>> it = entries.iterator(); StringBuilder string = new StringBuilder(); while (it.hasNext()) { Entry<Object, Object> entry = it.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); string.append(key + "=" + value + "; "); } return string.toString(); }  String getXmlFile(); @XmlTransient void setXmlFile(File file); void setXmlFile(String name); void setProperty(String key, String value); String getProperty(String key); Tuples getTuples(); Set<Entry<Object, Object>> entrySet(); void put(Object key, Object value); String getStringProperty(String key, String defaultValue); int getIntProperty(String key, int defaultValue); boolean getBooleanProperty(String key, boolean defaultValue); double getDoubleProperty(String key, double defaultValue); ArrayList<URL> getUrlListProperty(String key); ArrayList<String> getPathListProperty(String key); Properties getProperties(); @Override String toString();  }