Update test outputs for StreamEx library

This commit is contained in:
Vitaliy.Bibaev
2017-08-29 11:52:17 +03:00
parent 8abf4c6932
commit 6d2b710341
87 changed files with 1 additions and 900 deletions
@@ -5,21 +5,12 @@ AppendMany.java:10
StreamEx.of(1, 2)
.append(Stream.of(3, 4, 5))
.count()
StreamEx.of
before: nothing
after: 1,3
append
before: 1,3
after: 2,4,5,6,7
count
before: 2,4,5,6,7
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for append
direct:
1 -> 2
@@ -5,21 +5,12 @@ AppendNone.java:8
StreamEx.of(1, 2)
.append()
.count()
StreamEx.of
before: nothing
after: 1,3
append
before: 1,3
after: 2,4
count
before: 2,4
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for append
direct:
1 -> 2
@@ -5,21 +5,12 @@ AppendOne.java:8
StreamEx.of(1, 2)
.append(3)
.count()
StreamEx.of
before: nothing
after: 1,3
append
before: 1,3
after: 2,4,5
count
before: 2,4,5
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for append
direct:
1 -> 2
@@ -5,20 +5,12 @@ AppendToEmpty.java:8
StreamEx.empty()
.append(1)
.count()
StreamEx.empty
before: nothing
after: nothing
append
before: nothing
after: 1
count
before: 1
after: nothing
mappings for StreamEx.empty
direct:
no
reverse:
empty
mappings for append
direct:
empty
@@ -5,23 +5,12 @@ AtLeast.java:8
IntStreamEx.of(1, 2, 3, 4)
.atLeast(3)
.sum()
IntStreamEx.of
before: nothing
after: 1,2,3,5
atLeast
before: 1,2,3,5
after: 4,6
sum
before: 4,6
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 5
mappings for atLeast
direct:
1 -> nothing
@@ -5,23 +5,12 @@ AtMost.java:10
LongStreamEx.of(1, 2, 3, 4)
.atMost(2)
.min()
LongStreamEx.of
before: nothing
after: 1,3,5,6
atMost
before: 1,3,5,6
after: 2,4
min
before: 2,4
after: 2147483646
mappings for LongStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 6
mappings for atMost
direct:
1 -> 2
@@ -5,23 +5,12 @@ Chain.java:10
StreamEx.of(1, 2, 3, 4)
.chain(x -> dividable(x, 3))
.count()
StreamEx.of
before: nothing
after: 1,2,3,5
chain
before: 1,2,3,5
after: 4
count
before: 4
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 5
mappings for chain
direct:
1 -> nothing
@@ -5,25 +5,12 @@ Collapse.java:8
StreamEx.of(1, 3, 5, 4, 2, 3)
.collapse((x, y) -> x % 2 == y % 2, (x, y) -> x + y)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2,3,4,6,7
collapse
before: 1,2,3,4,6,7
after: 5,8,9
forEach
before: 5,8,9
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 4
nothing <- 6
nothing <- 7
mappings for collapse
direct:
1 -> 5
@@ -5,22 +5,12 @@ CollapseKeys.java:10
EntryStream.of(1, 1, 2, 4, 3, 9)
.collapseKeys(Collectors.toList())
.count()
EntryStream.of
before: nothing
after: 1,2,4
collapseKeys
before: 1,2,4
after: 3,5,6
count
before: 3,5,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
mappings for collapseKeys
direct:
1 -> 3
@@ -5,22 +5,12 @@ Cross.java:8
StreamEx.of(1, 2, 3)
.cross(1, 2, 3)
.count()
StreamEx.of
before: nothing
after: 1,5,9
cross
before: 1,5,9
after: 2,3,4,6,7,8,10,11,12
count
before: 2,3,4,6,7,8,10,11,12
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 5
nothing <- 9
mappings for cross
direct:
1 -> 2,3,4
@@ -5,25 +5,12 @@ DistinctAtLeast.java:8
StreamEx.of(1, 2, 3, 2, 3, 2)
.distinct(3)
.count()
StreamEx.of
before: nothing
after: 1,2,3,4,5,6
distinct
before: 1,2,3,4,5,6
after: 7
count
before: 7
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 4
nothing <- 5
nothing <- 6
mappings for distinct
direct:
1 -> nothing
@@ -5,23 +5,12 @@ DistinctKeys.java:8
EntryStream.of(1, 1, 2, 4, 3, 9, 3, 8)
.distinctKeys()
.count()
EntryStream.of
before: nothing
after: 1,3,5,7
distinctKeys
before: 1,3,5,7
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 7
mappings for distinctKeys
direct:
1 -> 2
@@ -5,23 +5,12 @@ DistinctValues.java:8
EntryStream.of(1, 1, 2, 4, 3, 9, 0, 9)
.distinctValues()
.count()
EntryStream.of
before: nothing
after: 1,3,5,7
distinctValues
before: 1,3,5,7
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 7
mappings for distinctValues
direct:
1 -> 2
@@ -5,26 +5,12 @@ DistinctWithKeyExtractor.java:12
StreamEx.of(1, 2, 3, 4, 5, 6, 7)
.distinct(DistinctWithKeyExtractor::hash)
.count()
StreamEx.of
before: nothing
after: 1,3,5,7,8,9,10
distinct
before: 1,3,5,7,8,9,10
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 7
nothing <- 8
nothing <- 9
nothing <- 10
mappings for distinct
direct:
1 -> 2
@@ -5,25 +5,12 @@ DistinctWithStatefulExtractor.java:9
StreamEx.of(3, 2, 1, 1, 1, 1)
.distinct(x -> x + state[0]++)
.count()
StreamEx.of
before: nothing
after: 1,3,4,5,7,9
distinct
before: 1,3,4,5,7,9
after: 2,6,8,10
count
before: 2,6,8,10
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 4
nothing <- 5
nothing <- 7
nothing <- 9
mappings for distinct
direct:
1 -> 2
@@ -5,23 +5,12 @@ DropWhile.java:8
StreamEx.of(1, 2, 3, 2)
.dropWhile(x -> x < 3)
.count()
StreamEx.of
before: nothing
after: 1,2,3,5
dropWhile
before: 1,2,3,5
after: 4,6
count
before: 4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 5
mappings for dropWhile
direct:
1 -> nothing
@@ -5,21 +5,12 @@ Elements.java:9
IntStreamEx.of(1, 3)
.elements(array)
.sum()
IntStreamEx.of
before: nothing
after: 1,3
elements
before: 1,3
after: 2,4
sum
before: 2,4
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for elements
direct:
1 -> 2
@@ -5,23 +5,12 @@ FilterBy.java:8
StreamEx.of(1, 2, 3, 4)
.filterBy(x -> x * x, 9)
.toArray()
StreamEx.of
before: nothing
after: 1,2,3,5
filterBy
before: 1,2,3,5
after: 4
toArray
before: 4
after: 5
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 5
mappings for filterBy
direct:
1 -> nothing
@@ -5,22 +5,12 @@ FilterByKeyValue.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.filterKeyValue((k, v) -> k * v < 10)
.count()
EntryStream.of
before: nothing
after: 1,3,5
filterKeyValue
before: 1,3,5
after: 2,4
count
before: 2,4
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for filterKeyValue
direct:
1 -> 2
@@ -5,22 +5,12 @@ FilterByKeys.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.filterKeys(x -> x < 2)
.count()
EntryStream.of
before: nothing
after: 1,3,4
filterKeys
before: 1,3,4
after: 2
count
before: 2
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 4
mappings for filterKeys
direct:
1 -> 2
@@ -5,22 +5,12 @@ FilterByValues.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.filterValues(x -> x < 5)
.count()
EntryStream.of
before: nothing
after: 1,3,5
filterValues
before: 1,3,5
after: 2,4
count
before: 2,4
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for filterValues
direct:
1 -> 2
@@ -5,22 +5,12 @@ FlatArray.java:8
StreamEx.of(1, 2, 3)
.flatArray(x -> new Integer[]{x + 1, x + 2, x + 3})
.count()
StreamEx.of
before: nothing
after: 1,5,9
flatArray
before: 1,5,9
after: 2,3,4,6,7,8,10,11,12
count
before: 2,3,4,6,7,8,10,11,12
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 5
nothing <- 9
mappings for flatArray
direct:
1 -> 2,3,4
@@ -5,22 +5,12 @@ FlatCollection.java:10
StreamEx.of(1, 2, 3)
.flatCollection(x -> Arrays.asList(new Integer[]{x + 1, x + 2, x + 3}))
.count()
StreamEx.of
before: nothing
after: 1,5,9
flatCollection
before: 1,5,9
after: 2,3,4,6,7,8,10,11,12
count
before: 2,3,4,6,7,8,10,11,12
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 5
nothing <- 9
mappings for flatCollection
direct:
1 -> 2,3,4
@@ -5,22 +5,12 @@ FlatMapKeyValue.java:9
EntryStream.of(1, 1, 2, 4, 3, 9)
.flatMapKeyValue((k, v) -> StreamEx.of(k, k + 1))
.count()
EntryStream.of
before: nothing
after: 1,4,7
flatMapKeyValue
before: 1,4,7
after: 2,3,5,6,8,9
count
before: 2,3,5,6,8,9
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapKeyValue
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapKeys.java:9
EntryStream.of(1, 1, 2, 4, 3, 9)
.flatMapKeys(k -> StreamEx.of(k, k + 1))
.count()
EntryStream.of
before: nothing
after: 1,4,7
flatMapKeys
before: 1,4,7
after: 2,3,5,6,8,9
count
before: 2,3,5,6,8,9
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapKeys
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapToDouble.java:9
IntStreamEx.of(1, 2, 3)
.flatMapToDouble(x -> DoubleStreamEx.of(x, x, x))
.count()
IntStreamEx.of
before: nothing
after: 1,5,9
flatMapToDouble
before: 1,5,9
after: 2,3,4,6,7,8,10,11,12
count
before: 2,3,4,6,7,8,10,11,12
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 5
nothing <- 9
mappings for flatMapToDouble
direct:
1 -> 2,3,4
@@ -5,22 +5,12 @@ FlatMapToEntry.java:15
StreamEx.of(1, 2, 3)
.flatMapToEntry(FlatMapToEntry::toMap)
.count()
StreamEx.of
before: nothing
after: 1,3,5
flatMapToEntry
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for flatMapToEntry
direct:
1 -> 2
@@ -5,22 +5,12 @@ FlatMapToInt.java:10
DoubleStreamEx.of(1, 2, 3)
.flatMapToInt(x -> IntStream.of(1, 3))
.sum()
DoubleStreamEx.of
before: nothing
after: 1,4,7
flatMapToInt
before: 1,4,7
after: 2,3,5,6,8,9
sum
before: 2,3,5,6,8,9
after: nothing
mappings for DoubleStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapToInt
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapToKey.java:10
EntryStream.of(1, 1, 2, 4, 3, 9)
.flatMapToKey((k, v) -> Stream.of(k, k + 1))
.count()
EntryStream.of
before: nothing
after: 1,4,7
flatMapToKey
before: 1,4,7
after: 2,3,5,6,8,9
count
before: 2,3,5,6,8,9
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapToKey
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapToLong.java:9
DoubleStreamEx.of(1, 2, 3)
.flatMapToLong(x -> LongStreamEx.of((long) x, (long) (x + 1)))
.sum()
DoubleStreamEx.of
before: nothing
after: 1,4,7
flatMapToLong
before: 1,4,7
after: 2,3,5,6,8,9
sum
before: 2,3,5,6,8,9
after: nothing
mappings for DoubleStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapToLong
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapToObj.java:9
LongStreamEx.of(1, 2, 3)
.flatMapToObj(x -> StreamEx.of(x, x + 1))
.count()
LongStreamEx.of
before: nothing
after: 1,4,7
flatMapToObj
before: 1,4,7
after: 2,3,5,6,8,9
count
before: 2,3,5,6,8,9
after: nothing
mappings for LongStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapToObj
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapToValue.java:9
EntryStream.of(1, 1, 2, 4, 3, 9)
.flatMapToValue((k, v) -> StreamEx.of(k, k + 1))
.count()
EntryStream.of
before: nothing
after: 1,4,7
flatMapToValue
before: 1,4,7
after: 2,3,5,6,8,9
count
before: 2,3,5,6,8,9
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapToValue
direct:
1 -> 2,3
@@ -5,22 +5,12 @@ FlatMapValues.java:9
EntryStream.of(1, 1, 2, 4, 3, 9)
.flatMapValues(v -> StreamEx.of(v, v + 1))
.count()
EntryStream.of
before: nothing
after: 1,4,7
flatMapValues
before: 1,4,7
after: 2,3,5,6,8,9
count
before: 2,3,5,6,8,9
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for flatMapValues
direct:
1 -> 2,3
@@ -5,23 +5,12 @@ Greater.java:10
DoubleStreamEx.of(1., 2., 3., 4.)
.greater(2)
.min()
DoubleStreamEx.of
before: nothing
after: 1,2,3,5
greater
before: 1,2,3,5
after: 4,6
min
before: 4,6
after: 2147483646
mappings for DoubleStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 5
mappings for greater
direct:
1 -> nothing
@@ -5,25 +5,12 @@ GroupRuns.java:8
StreamEx.of(1, 2, 2, 3, 5, 7)
.groupRuns((l, r) -> l % 2 == r % 2)
.count()
StreamEx.of
before: nothing
after: 1,2,4,5,7,8
groupRuns
before: 1,2,4,5,7,8
after: 3,6,9
count
before: 3,6,9
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
nothing <- 5
nothing <- 7
nothing <- 8
mappings for groupRuns
direct:
1 -> 3
@@ -5,23 +5,12 @@ HeadTail.java:8
StreamEx.of(1, 2, 3, 4)
.headTail((head, tail) -> tail, () -> StreamEx.of(0))
.count()
StreamEx.of
before: nothing
after: 1,2,4,6
headTail
before: 1,2,4,6
after: 3,5,7
count
before: 3,5,7
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
nothing <- 6
mappings for headTail
direct:
1 -> nothing
@@ -5,26 +5,12 @@ IntervalMap.java:8
StreamEx.of(1, 2, 4, 6, 7, 9, 10)
.intervalMap((l, r) -> l % 2 == r % 2, (l, r) -> l + r)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2,4,5,6,8,9
intervalMap
before: 1,2,4,5,6,8,9
after: 3,7,10,11
forEach
before: 3,7,10,11
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
nothing <- 5
nothing <- 6
nothing <- 8
nothing <- 9
mappings for intervalMap
direct:
1 -> 3
@@ -5,22 +5,12 @@ Invert.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.invert()
.count()
EntryStream.of
before: nothing
after: 1,3,5
invert
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for invert
direct:
1 -> 2
@@ -5,22 +5,12 @@ Join.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.join(" -> ")
.forEach(System.out::println)
EntryStream.of
before: nothing
after: 1,3,5
join
before: 1,3,5
after: 2,4,6
forEach
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for join
direct:
1 -> 2
@@ -5,22 +5,12 @@ Keys.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.keys()
.count()
EntryStream.of
before: nothing
after: 1,3,5
keys
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for keys
direct:
1 -> 2
@@ -5,23 +5,12 @@ Less.java:10
DoubleStreamEx.of(1., 2., 3., 4.)
.less(2)
.max()
DoubleStreamEx.of
before: nothing
after: 1,3,4,5
less
before: 1,3,4,5
after: 2
max
before: 2
after: 2147483646
mappings for DoubleStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 4
nothing <- 5
mappings for less
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapFirst.java:8
IntStreamEx.of(1, 2, 3)
.mapFirst(x -> 10)
.sum()
IntStreamEx.of
before: nothing
after: 1,3,5
mapFirst
before: 1,3,5
after: 2,4,6
sum
before: 2,4,6
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapFirst
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapFirstOrElse.java:8
StreamEx.of(1, 2, 3)
.mapFirstOrElse(x -> 10, x -> 20)
.max(Integer::compareTo)
StreamEx.of
before: nothing
after: 1,3,5
mapFirstOrElse
before: 1,3,5
after: 2,4,6
max
before: 2,4,6
after: 2147483646
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapFirstOrElse
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapKeyValue.java:23
EntryStream.of(1, 1, 2, 4, 3, 9)
.mapKeyValue((k, v) -> k + v)
.max(Integer::compareTo)
EntryStream.of
before: nothing
after: 1,3,5
mapKeyValue
before: 1,3,5
after: 2,4,6
max
before: 2,4,6
after: 2147483646
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapKeyValue
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapKeys.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.mapKeys(x -> x - 1)
.count()
EntryStream.of
before: nothing
after: 1,3,5
mapKeys
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapKeys
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapLast.java:8
IntStreamEx.of(1, 2, 3)
.mapLast(x -> 30)
.sum()
IntStreamEx.of
before: nothing
after: 1,2,4
mapLast
before: 1,2,4
after: 3,5,6
sum
before: 3,5,6
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
mappings for mapLast
direct:
1 -> 3
@@ -5,22 +5,12 @@ MapLastOrElse.java:10
StreamEx.of(1, 2, 3)
.mapLastOrElse(x -> 30, x -> x - 1)
.min(Integer::compareTo)
StreamEx.of
before: nothing
after: 1,2,4
mapLastOrElse
before: 1,2,4
after: 3,5,6
min
before: 3,5,6
after: 2147483646
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
mappings for mapLastOrElse
direct:
1 -> 3
@@ -5,22 +5,12 @@ MapToEntry.java:8
StreamEx.of(1, 2, 3)
.mapToEntry(x -> x * x)
.count()
StreamEx.of
before: nothing
after: 1,3,5
mapToEntry
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapToEntry
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapToKey.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.mapToKey((k, v) -> k + v)
.count()
EntryStream.of
before: nothing
after: 1,3,5
mapToKey
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapToKey
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapToValue.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.mapToValue((k, v) -> k + v)
.count()
EntryStream.of
before: nothing
after: 1,3,5
mapToValue
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapToValue
direct:
1 -> 2
@@ -5,22 +5,12 @@ MapValues.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.mapValues(x -> 0)
.count()
EntryStream.of
before: nothing
after: 1,3,5
mapValues
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for mapValues
direct:
1 -> 2
@@ -5,25 +5,12 @@ NonNull.java:9
StreamEx.of(array)
.nonNull()
.count()
StreamEx.of
before: nothing
after: 1,3,5,7,9,10
nonNull
before: 1,3,5,7,9,10
after: 2,4,6,8
count
before: 2,4,6,8
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 7
nothing <- 9
nothing <- 10
mappings for nonNull
direct:
1 -> 2
@@ -5,22 +5,12 @@ NonNullKeys.java:8
EntryStream.of(1, 1, 2, 4, null, 9)
.nonNullKeys()
.count()
EntryStream.of
before: nothing
after: 1,3,5
nonNullKeys
before: 1,3,5
after: 2,4
count
before: 2,4
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for nonNullKeys
direct:
1 -> 2
@@ -5,22 +5,12 @@ NonNullValues.java:8
EntryStream.of(1, 1, 2, null, 3, null)
.nonNullValues()
.count()
EntryStream.of
before: nothing
after: 1,3,4
nonNullValues
before: 1,3,4
after: 2
count
before: 2
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 4
mappings for nonNullValues
direct:
1 -> 2
@@ -5,22 +5,12 @@ PairMap.java:8
IntStreamEx.of(1, 3, 4)
.pairMap((l, r) -> l + r)
.sum()
IntStreamEx.of
before: nothing
after: 1,2,4
pairMap
before: 1,2,4
after: 3,5
sum
before: 3,5
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
mappings for pairMap
direct:
1 -> 3
@@ -5,22 +5,12 @@ Parallel.java:11
StreamEx.of(1, 2, 3)
.parallel((ForkJoinPool) Executors.newWorkStealingPool())
.count()
StreamEx.of
before: nothing
after: 1,3,5
parallel
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for parallel
direct:
1 -> 2
@@ -10,9 +10,6 @@ StreamEx.of(1, 2, 3)
.peekValues(System.out::print)
.peekKeyValue((k, v) -> System.out.println("(" + k + " -> " + v + ")"))
.count()
StreamEx.of
before: nothing
after: 1,3,10
peekFirst
before: 1,3,10
after: 2,4,11
@@ -34,13 +31,6 @@ peekKeyValue
count
before: 9,16,21
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 10
mappings for peekFirst
direct:
1 -> 2
@@ -5,25 +5,12 @@ Prefix.java:8
StreamEx.of(1, 2, 3, 4, 5, 7)
.prefix((l, r) -> l + r)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,3,5,7,9,11
prefix
before: 1,3,5,7,9,11
after: 2,4,6,8,10,12
forEach
before: 2,4,6,8,10,12
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 7
nothing <- 9
nothing <- 11
mappings for prefix
direct:
1 -> nothing
@@ -5,22 +5,12 @@ PrefixKeys.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.prefixKeys((l, r) -> l + r)
.count()
EntryStream.of
before: nothing
after: 1,3,5
prefixKeys
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for prefixKeys
direct:
1 -> nothing
@@ -5,22 +5,12 @@ PrefixValues.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.prefixValues((l, r) -> l + r)
.count()
EntryStream.of
before: nothing
after: 1,3,5
prefixValues
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for prefixValues
direct:
1 -> nothing
@@ -5,21 +5,12 @@ PrependMany.java:10
StreamEx.of(1, 2)
.prepend(Stream.of(3, 4, 5))
.count()
StreamEx.of
before: nothing
after: 4,6
prepend
before: 4,6
after: 1,2,3,5,7
count
before: 1,2,3,5,7
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 4
nothing <- 6
mappings for prepend
direct:
4 -> 5
@@ -5,21 +5,12 @@ PrependNone.java:8
StreamEx.of(1, 2)
.prepend()
.count()
StreamEx.of
before: nothing
after: 1,3
prepend
before: 1,3
after: 2,4
count
before: 2,4
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for prepend
direct:
1 -> 2
@@ -5,21 +5,12 @@ PrependOne.java:8
StreamEx.of(1, 2)
.prepend(3)
.count()
StreamEx.of
before: nothing
after: 2,4
prepend
before: 2,4
after: 1,3,5
count
before: 1,3,5
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 2
nothing <- 4
mappings for prepend
direct:
2 -> 3
@@ -5,20 +5,12 @@ PrependToEmpty.java:8
StreamEx.empty()
.prepend(1)
.count()
StreamEx.empty
before: nothing
after: nothing
prepend
before: nothing
after: 1
count
before: 1
after: nothing
mappings for StreamEx.empty
direct:
no
reverse:
empty
mappings for prepend
direct:
empty
@@ -5,23 +5,12 @@ Remove.java:8
StreamEx.of(1, 2, 3, 4)
.remove(x -> x % 3 == 0)
.forEach(System.out::print)
StreamEx.of
before: nothing
after: 1,3,5,6
remove
before: 1,3,5,6
after: 2,4,7
forEach
before: 2,4,7
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 6
mappings for remove
direct:
1 -> 2
@@ -5,23 +5,12 @@ RemoveBy.java:8
StreamEx.of(1, 2, 3, 4)
.removeBy(x -> x * x, 16)
.forEach(System.out::print)
StreamEx.of
before: nothing
after: 1,3,5,7
removeBy
before: 1,3,5,7
after: 2,4,6
forEach
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
nothing <- 7
mappings for removeBy
direct:
1 -> 2
@@ -5,22 +5,12 @@ RemoveKeyValue.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.removeKeyValue((k, v) -> v < 7)
.count()
EntryStream.of
before: nothing
after: 1,2,3
removeKeyValue
before: 1,2,3
after: 4
count
before: 4
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for removeKeyValue
direct:
1 -> nothing
@@ -5,22 +5,12 @@ RemoveKeys.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.removeKeys(x -> x < 3)
.count()
EntryStream.of
before: nothing
after: 1,2,3
removeKeys
before: 1,2,3
after: 4
count
before: 4
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for removeKeys
direct:
1 -> nothing
@@ -5,22 +5,12 @@ RemoveValues.java:8
EntryStream.of(1, 1, 2, 4, 3, 9)
.removeValues(v-> v < 7)
.count()
EntryStream.of
before: nothing
after: 1,2,3
removeValues
before: 1,2,3
after: 4
count
before: 4
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for removeValues
direct:
1 -> nothing
@@ -2,25 +2,15 @@ LineBreakpoint created at ReverseSorted.java:8
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;C:\Projects\stream-debugger-plugin\java\lib\streamex-0.6.5.jar;!RT_JAR! sorted.ReverseSorted
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
ReverseSorted.java:8
StreamEx.of(1, 2, 3)
StreamEx.of(1,2,3)
.reverseSorted()
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2,3
reverseSorted
before: 1,2,3
after: 4,5,6
forEach
before: 4,5,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for reverseSorted
direct:
1 -> 6
@@ -5,26 +5,12 @@ RunLengths.java:8
StreamEx.of(1, 2, 2, 3, 2, 2, 4)
.runLengths()
.count()
StreamEx.of
before: nothing
after: 1,2,4,5,7,9,10
runLengths
before: 1,2,4,5,7,9,10
after: 3,6,8,11,12
count
before: 3,6,8,11,12
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
nothing <- 5
nothing <- 7
nothing <- 9
nothing <- 10
mappings for runLengths
direct:
1 -> 3
@@ -5,24 +5,12 @@ Select.java:24
StreamEx.of(objects)
.select(Long.class)
.count()
StreamEx.of
before: nothing
after: 1,2,3,4,6
select
before: 1,2,3,4,6
after: 5
count
before: 5
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
nothing <- 4
nothing <- 6
mappings for select
direct:
1 -> nothing
@@ -5,22 +5,12 @@ SelectKeys.java:8
EntryStream.of(1, 1, 2L, 4, new Object(), 9)
.selectKeys(Long.class)
.count()
EntryStream.of
before: nothing
after: 1,2,4
selectKeys
before: 1,2,4
after: 3
count
before: 3
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
mappings for selectKeys
direct:
1 -> nothing
@@ -5,22 +5,12 @@ SelectValues.java:8
EntryStream.of(1, 1, 2, 4L, 3, new Object())
.selectValues(Long.class)
.count()
EntryStream.of
before: nothing
after: 1,2,4
selectValues
before: 1,2,4
after: 3
count
before: 3
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 4
mappings for selectValues
direct:
1 -> nothing
@@ -5,21 +5,12 @@ SkipOrdered.java:8
IntStreamEx.of(1, 2)
.skipOrdered(1)
.sum()
IntStreamEx.of
before: nothing
after: 1,2
skipOrdered
before: 1,2
after: 3
sum
before: 3
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
mappings for skipOrdered
direct:
1 -> nothing
@@ -5,22 +5,12 @@ SortedBy.java:8
StreamEx.of(1, 2, 10)
.sortedBy(Object::toString)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2,3
sortedBy
before: 1,2,3
after: 4,5,6
forEach
before: 4,5,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for sortedBy
direct:
1 -> 4
@@ -5,22 +5,12 @@ SortedByDouble.java:8
StreamEx.of(10, 1, 2)
.sortedByDouble(Integer::doubleValue)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2,3
sortedByDouble
before: 1,2,3
after: 4,5,6
forEach
before: 4,5,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for sortedByDouble
direct:
1 -> 6
@@ -5,21 +5,12 @@ SortedByInt.java:8
StreamEx.of(2, 1)
.sortedByInt(Integer::intValue)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2
sortedByInt
before: 1,2
after: 3,4
forEach
before: 3,4
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
mappings for sortedByInt
direct:
1 -> 4
@@ -5,22 +5,12 @@ SortedByLong.java:8
StreamEx.of(1, 2, 10)
.sortedByLong(x -> 10 - x)
.forEach(System.out::println)
StreamEx.of
before: nothing
after: 1,2,3
sortedByLong
before: 1,2,3
after: 4,5,6
forEach
before: 4,5,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 2
nothing <- 3
mappings for sortedByLong
direct:
1 -> 6
@@ -5,21 +5,12 @@ TakeWhile.java:8
IntStreamEx.of(1, 2, 3)
.takeWhile(x -> x % 2 != 0)
.count()
IntStreamEx.of
before: nothing
after: 1,3
takeWhile
before: 1,3
after: 2
count
before: 2
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for takeWhile
direct:
1 -> 2
@@ -5,21 +5,12 @@ TakeWhileInclusive.java:8
IntStreamEx.of(1, 2, 3)
.takeWhileInclusive(x -> x % 2 != 0)
.count()
IntStreamEx.of
before: nothing
after: 1,3
takeWhileInclusive
before: 1,3
after: 2,4
count
before: 2,4
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
mappings for takeWhileInclusive
direct:
1 -> 2
@@ -6,9 +6,6 @@ EntryStream.of(1, 1, 2, 4, 3, 9)
.values()
.mapToInt(Integer::intValue)
.sum()
EntryStream.of
before: nothing
after: 1,4,7
values
before: 1,4,7
after: 2,5,8
@@ -18,13 +15,6 @@ mapToInt
sum
before: 3,6,9
after: nothing
mappings for EntryStream.of
direct:
no
reverse:
nothing <- 1
nothing <- 4
nothing <- 7
mappings for values
direct:
1 -> 2
@@ -5,22 +5,12 @@ WithFirst.java:8
StreamEx.of(10., 2., 3.)
.withFirst((first, other) -> first * other)
.count()
StreamEx.of
before: nothing
after: 1,3,5
withFirst
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for withFirst
direct:
1 -> 2
@@ -5,22 +5,12 @@ Without.java:8
IntStreamEx.of(1, 2, 3)
.without(2, 3)
.count()
IntStreamEx.of
before: nothing
after: 1,3,4
without
before: 1,3,4
after: 2
count
before: 2
after: nothing
mappings for IntStreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 4
mappings for without
direct:
1 -> 2
@@ -5,22 +5,12 @@ ZipWithGreater.java:10
StreamEx.of(1, 2, 3)
.zipWith(Stream.of(1, 3, 9, 16, 25))
.count()
StreamEx.of
before: nothing
after: 1,3,5
zipWith
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for zipWith
direct:
1 -> 2
@@ -5,22 +5,12 @@ ZipWithLesser.java:10
StreamEx.of(1, 2, 3, 4, 5)
.zipWith(Stream.of(1, 3, 9))
.count()
StreamEx.of
before: nothing
after: 1,3,5
zipWith
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for zipWith
direct:
1 -> 2
@@ -5,22 +5,12 @@ ZipWithSameSizes.java:10
StreamEx.of(1, 2, 3)
.zipWith(Stream.of(1, 3, 9))
.count()
StreamEx.of
before: nothing
after: 1,3,5
zipWith
before: 1,3,5
after: 2,4,6
count
before: 2,4,6
after: nothing
mappings for StreamEx.of
direct:
no
reverse:
nothing <- 1
nothing <- 3
nothing <- 5
mappings for zipWith
direct:
1 -> 2