Home
last modified time | relevance | path

Searched refs:uniqueSize (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DGroupByOpTest.java111 int uniqueSize = data.into(new HashSet<>()).size(); in getMapperData() local
114 new MapperData<>(mId, uniqueSize), in getMapperData()
116 new MapperData<>(mDoubler, uniqueSize), in getMapperData()
117 new MapperData<>(LambdaTestHelpers.compose(mId, mDoubler), uniqueSize), in getMapperData()
118 new MapperData<>(LambdaTestHelpers.compose(mDoubler, mDoubler), uniqueSize), in getMapperData()
120 … new MapperData<>(LambdaTestHelpers.forPredicate(pFalse, true, false), Math.min(1, uniqueSize)), in getMapperData()
121 … new MapperData<>(LambdaTestHelpers.forPredicate(pTrue, true, false), Math.min(1, uniqueSize)), in getMapperData()
122 … new MapperData<>(LambdaTestHelpers.forPredicate(pEven, true, false), Math.min(2, uniqueSize)), in getMapperData()
123 … new MapperData<>(LambdaTestHelpers.forPredicate(pOdd, true, false), Math.min(2, uniqueSize)) in getMapperData()
DReduceByOpTest.java60 int uniqueSize = data.into(new HashSet<Integer>()).size(); in testOps() local
63 assertEquals(miResult.keySet().size(), uniqueSize); in testOps() local