public enum LongStreamTestScenario extends Enum<LongStreamTestScenario> implements OpTestCase.BaseStreamTestScenario
Modifier and Type | Field and Description |
---|---|
static Set<LongStreamTestScenario> |
CLEAR_SIZED_SCENARIOS |
Modifier and Type | Method and Description |
---|---|
StreamShape |
getShape() |
boolean |
isOrdered() |
boolean |
isParallel() |
<T,U,S_IN extends BaseStream<T,S_IN>,S_OUT extends BaseStream<U,S_OUT>> |
run(TestData<T,S_IN> data,
Consumer<U> b,
Function<S_IN,S_OUT> m) |
static LongStreamTestScenario |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongStreamTestScenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LongStreamTestScenario STREAM_FOR_EACH_WITH_CLOSE
public static final LongStreamTestScenario STREAM_TO_ARRAY
public static final LongStreamTestScenario STREAM_ITERATOR
public static final LongStreamTestScenario STREAM_SPLITERATOR
public static final LongStreamTestScenario STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT
public static final LongStreamTestScenario STREAM_SPLITERATOR_FOREACH
public static final LongStreamTestScenario PAR_STREAM_SEQUENTIAL_FOR_EACH
public static final LongStreamTestScenario PAR_STREAM_FOR_EACH_ORDERED
public static final LongStreamTestScenario PAR_STREAM_SPLITERATOR
public static final LongStreamTestScenario PAR_STREAM_SPLITERATOR_FOREACH
public static final LongStreamTestScenario PAR_STREAM_TO_ARRAY
public static final LongStreamTestScenario PAR_STREAM_SPLITERATOR_STREAM_TO_ARRAY
public static final LongStreamTestScenario PAR_STREAM_TO_ARRAY_CLEAR_SIZED
public static final LongStreamTestScenario PAR_STREAM_FOR_EACH
public static final LongStreamTestScenario PAR_STREAM_FOR_EACH_CLEAR_SIZED
public static final Set<LongStreamTestScenario> CLEAR_SIZED_SCENARIOS
public static LongStreamTestScenario[] values()
for (LongStreamTestScenario c : LongStreamTestScenario.values()) System.out.println(c);
public static LongStreamTestScenario 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 StreamShape getShape()
getShape
in interface OpTestCase.BaseStreamTestScenario
public boolean isParallel()
isParallel
in interface OpTestCase.BaseStreamTestScenario
public boolean isOrdered()
isOrdered
in interface OpTestCase.BaseStreamTestScenario
public <T,U,S_IN extends BaseStream<T,S_IN>,S_OUT extends BaseStream<U,S_OUT>> void run(TestData<T,S_IN> data, Consumer<U> b, Function<S_IN,S_OUT> m)
run
in interface OpTestCase.BaseStreamTestScenario