### Question:
GenerationKeyRange { @Override public String toString() { try { extractRange(); return this.getClass().getSimpleName()+"("+distributionRange+",["+rangeStart+","+rangeEnd+"])"; } catch (PEException e) { return this.getClass().getSimpleName(); } } GenerationKeyRange();  GenerationKeyRange(DistributionRange distRange, StorageGroupGeneration gen, KeyValue dvStart, KeyValue dvEnd); DistributionRange getDistributionRange(); StorageGroupGeneration getStorageGroupGeneration(); boolean isInRange(IKeyValue key); void setRange(KeyValue start, KeyValue end); void mergeRange(KeyValue dvStart, KeyValue dvEnd); @Override String toString();  }### Answer:
@Test public void test() throws PEException { String s; RangeLimit rl = new RangeLimit(); rl.add(new Integer(1)); s = rl.toString(); assertEquals(rl, RangeLimit.parseLimit(s)); rl.add(new String("Hello")); s = rl.toString(); assertEquals(rl, RangeLimit.parseLimit(s)); rl.add(new Double(18.32)); s = rl.toString(); assertEquals(rl, RangeLimit.parseLimit(s)); }