private static enum MultisetNavigationTester.SubMultisetSpec extends java.lang.Enum<MultisetNavigationTester.SubMultisetSpec>
Enum Constant and Description |
---|
HEAD_CLOSED |
HEAD_OPEN |
TAIL_CLOSED |
TAIL_OPEN |
Modifier and Type | Method and Description |
---|---|
(package private) abstract <E> java.util.List<Multiset.Entry<E>> |
expectedEntries(int targetEntry,
java.util.List<Multiset.Entry<E>> entries) |
(package private) abstract <E> SortedMultiset<E> |
subMultiset(SortedMultiset<E> multiset,
java.util.List<Multiset.Entry<E>> entries,
int targetEntry) |
static MultisetNavigationTester.SubMultisetSpec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultisetNavigationTester.SubMultisetSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultisetNavigationTester.SubMultisetSpec TAIL_CLOSED
public static final MultisetNavigationTester.SubMultisetSpec TAIL_OPEN
public static final MultisetNavigationTester.SubMultisetSpec HEAD_CLOSED
public static final MultisetNavigationTester.SubMultisetSpec HEAD_OPEN
public static MultisetNavigationTester.SubMultisetSpec[] values()
for (MultisetNavigationTester.SubMultisetSpec c : MultisetNavigationTester.SubMultisetSpec.values()) System.out.println(c);
public static MultisetNavigationTester.SubMultisetSpec valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract <E> java.util.List<Multiset.Entry<E>> expectedEntries(int targetEntry, java.util.List<Multiset.Entry<E>> entries)
abstract <E> SortedMultiset<E> subMultiset(SortedMultiset<E> multiset, java.util.List<Multiset.Entry<E>> entries, int targetEntry)