public static enum SiblingsIterator.Type extends Enum<SiblingsIterator.Type>
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
advance(ListIterator<T> iterator) |
abstract boolean |
canAdvance(ListIterator<?> iterator) |
static SiblingsIterator.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiblingsIterator.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiblingsIterator.Type NEXT
public static final SiblingsIterator.Type PREV
public static SiblingsIterator.Type[] values()
for (SiblingsIterator.Type c : SiblingsIterator.Type.values()) System.out.println(c);
public static SiblingsIterator.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean canAdvance(ListIterator<?> iterator)
public abstract <T> T advance(ListIterator<T> iterator)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.