DoubleRing.java updated