public Properties toProperties(){
  Properties properties=new Properties();
  properties.setProperty("rack",rack);
  properties.setProperty("dc",dataCenter);
  return properties;
}

public Properties toProperties ( ) { Properties properties = new Properties ( ) ; properties . setProperty ( "rack" , rack ) ; properties . setProperty ( "dc" , dataCenter ) ; return properties ; }
gets a properties object containing the properties parsed by a cassandra daemon to determine its rack and data center .
