HomeSort by relevance Sort by last modified time
    Searched defs:StreamOpFlag (Results 1 - 4 of 4) sorted by null

  /libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
StreamOpFlagsTest.java 40 import static java.util.stream.StreamOpFlag.*;
48 int sourceFlags = StreamOpFlag.IS_SIZED;
50 assertEquals(sourceFlags, toStreamFlags(combineOpFlags(sourceFlags, StreamOpFlag.INITIAL_OPS_VALUE)));
54 List<StreamOpFlag> flags = new ArrayList<>(StreamOpFlagTestHelper.allStreamFlags());
63 int opsFlags = combineOpFlags(sourceFlags, StreamOpFlag.INITIAL_OPS_VALUE);
64 assertEquals(opsFlags, (~(sourceFlags << 1)) & StreamOpFlag.INITIAL_OPS_VALUE);
69 for (StreamOpFlag f : StreamOpFlagTestHelper.allStreamFlags()) {
73 opsFlags = combineOpFlags(sourceFlags, StreamOpFlag.INITIAL_OPS_VALUE);
80 for (StreamOpFlag f : StreamOpFlagTestHelper.allStreamFlags()) {
85 opsFlags = combineOpFlags(sourceFlags, StreamOpFlag.INITIAL_OPS_VALUE)
    [all...]
  /libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
CollectorOps.java 91 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags));
  /libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
CollectorOps.java 92 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags));
  /libcore/ojluni/src/main/java/java/util/stream/
StreamOpFlag.java 205 public enum StreamOpFlag {
446 private StreamOpFlag(int position, MaskBuilder maskBuilder) {
553 for (StreamOpFlag flag : StreamOpFlag.values()) {
566 for (StreamOpFlag flag : StreamOpFlag.values()) {
692 return (prevCombOpFlags & StreamOpFlag.getMask(newStreamOrOpFlags)) | newStreamOrOpFlags;

Completed in 384 milliseconds