return( ByteFormatter.nicePrint(b));
if ( logging_on ){ return( contact.getString()); }else{ return( "" ); }
if ( logging_on ){ String res = "{"; for (int i=0;i<l.size();i++){ res += (i==0?"":",") + getString((DHTTransportContact)l.get(i)); } return( res + "}" ); }else{ return( "" ); }
if ( logging_on ){ String res = "{"; Iterator it = s.iterator(); while( it.hasNext()){ res += (res.length()==1?"":",") + getString((DHTTransportContact)it.next()); } return( res + "}" ); }else{ return( "" ); }
if ( logging_on ){ String res = "{"; Iterator it = s.keySet().iterator(); while( it.hasNext()){ res += (res.length()==1?"":",") + getString((HashWrapper)it.next()); } return( res + "}" ); }else{ return( "" ); }
if ( logging_on ){ if ( values == null ){ return( "<null>"); } String res = ""; for (int i=0;i<values.length;i++){ res += (i==0?"":",") + getString( values[i] ); } return( res ); }else{ return( "" ); }
if ( logging_on ){ if ( value == null ){ return( "<null>"); } return( getString(value.getValue()) + "<" + (value.isLocal()?"local":"remote" ) + ">" ); }else{ return( "" ); }
if ( logging_on ){ return( getString2(b)); }else{ return( "" ); }
if ( logging_on ){ return( getString( w.getHash())); }else{ return( "" ); }
if ( logging_on ){ String res = "{"; for (int i=0;i<contacts.length;i++){ res += (i==0?"":",") + getString(contacts[i].getID()); } return( res + "}" ); }else{ return( "" ); }
String res = ByteFormatter.nicePrint(b); if ( res.length() > 8 ){ res = res.substring(0,8)+"..."; } return( res );
return( logging_on );
if ( logging_on ){ if ( logger != null ){ logger.log( str ); }else{ System.out.println( str ); } }
logger = l;
logging_on = on;