@Test public void testToString() { assertEquals("Parameter[name=location, value=there]", Parameter.create("location", "there").toString()); }
@Override public String toString() { StringBuilder b = new StringBuilder(); b.append("Parameter["); b.append("name="); b.append(name); b.append(", value="); b.append(String.valueOf(value)); b.append("]"); return b.toString(); }
Parameter { @Override public String toString() { StringBuilder b = new StringBuilder(); b.append("Parameter["); b.append("name="); b.append(name); b.append(", value="); b.append(String.valueOf(value)); b.append("]"); return b.toString(); } }
Parameter { @Override public String toString() { StringBuilder b = new StringBuilder(); b.append("Parameter["); b.append("name="); b.append(name); b.append(", value="); b.append(String.valueOf(value)); b.append("]"); return b.toString(); } Parameter(Object value);   Parameter(String name, Object value); }
Parameter { @Override public String toString() { StringBuilder b = new StringBuilder(); b.append("Parameter["); b.append("name="); b.append(name); b.append(", value="); b.append(String.valueOf(value)); b.append("]"); return b.toString(); } Parameter(Object value);   Parameter(String name, Object value); static ParameterListBuilder named(String name, String value); @Override String toString(); static Parameter create(String name, Object value); }
Parameter { @Override public String toString() { StringBuilder b = new StringBuilder(); b.append("Parameter["); b.append("name="); b.append(name); b.append(", value="); b.append(String.valueOf(value)); b.append("]"); return b.toString(); } Parameter(Object value);   Parameter(String name, Object value); static ParameterListBuilder named(String name, String value); @Override String toString(); static Parameter create(String name, Object value);  }