Javadoc
This commit is contained in:
parent
969bfd2fe7
commit
f82b597b75
|
@ -31,15 +31,34 @@ public abstract class AbstractEmptyMapIterator<K, V> extends AbstractEmptyIterat
|
|||
public AbstractEmptyMapIterator() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Always throws IllegalStateException.
|
||||
*
|
||||
* @return Always throws IllegalStateException.
|
||||
* @throws IllegalStateException Always thrown.
|
||||
*/
|
||||
public K getKey() {
|
||||
throw new IllegalStateException("Iterator contains no elements");
|
||||
}
|
||||
|
||||
/**
|
||||
* Always throws IllegalStateException.
|
||||
*
|
||||
* @return Always throws IllegalStateException.
|
||||
* @throws IllegalStateException Always thrown.
|
||||
*/
|
||||
public V getValue() {
|
||||
throw new IllegalStateException("Iterator contains no elements");
|
||||
}
|
||||
|
||||
public V setValue(final V value) {
|
||||
/**
|
||||
* Always throws IllegalStateException.
|
||||
*
|
||||
* @param ignored ignored.
|
||||
* @return Always throws IllegalStateException.
|
||||
* @throws IllegalStateException Always thrown.
|
||||
*/
|
||||
public V setValue(final V ignored) {
|
||||
throw new IllegalStateException("Iterator contains no elements");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue