ide/src/org/xnap/commons/gui/shortcut/EmacsKeyBindings.java
String next() {
			if (ring.isEmpty()) {
				return null;
			} else if (iter.hasNext()) {
				return iter.next();
			} else {
				iter = ring.iterator();
				// guaranteed to not throw an exception, since ring is not empty
				return iter.next();
			}
		}
/***
		 * Returns the next text element which is to be yank-popped.
		 * 
		 * @return <code>null</code> if the ring is empty
		 */
Returns the next text element which is to be yank-popped.

@return null if the ring is empty
Returns the next text element which is to be yank - popped . @return null if the ring is empty
String next() {
			if (ring.isEmpty()) {
				return null;
			} else if (iter.hasNext()) {
				return iter.next();
			} else {
				iter = ring.iterator();
				return iter.next();
			}
		}
String next ( ) { if ( ring . isEmpty ( ) ) { return null ; } else if ( iter . hasNext ( ) ) { return iter . next ( ) ; } else { iter = ring . iterator ( ) ; return iter . next ( ) ; } }
Returns the next text element which is to be yank-popped.
Returns the next text element which is to be yank - popped .
// guaranteed to not throw an exception, since ring is not empty