DoubleEnded.java