1 | package com.github.dakusui.pcond.core.fluent.builtins; | |
2 | ||
3 | ||
4 | import java.util.function.Function; | |
5 | import java.util.function.Supplier; | |
6 | ||
7 | import static com.github.dakusui.pcond.internals.InternalUtils.trivialIdentityFunction; | |
8 | ||
9 | public interface LongChecker< | |
10 | OIN | |
11 | > extends | |
12 | ComparableNumberChecker< | |
13 | LongChecker<OIN>, | |
14 | OIN, | |
15 | Long> { | |
16 | ||
17 | class Impl<T> extends | |
18 | Base< | |
19 | LongChecker<T>, | |
20 | T, | |
21 | Long> implements | |
22 | LongChecker< | |
23 | T> { | |
24 | public Impl(Supplier<T> baseValue, Function<T, Long> transformFunction) { | |
25 | super(baseValue, transformFunction); | |
26 | } | |
27 | ||
28 | @Override | |
29 | protected LongChecker<Long> rebase() { | |
30 |
1
1. rebase : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/LongChecker$Impl::rebase → SURVIVED |
return new LongChecker.Impl<>(this::value, trivialIdentityFunction()); |
31 | } | |
32 | } | |
33 | } | |
Mutations | ||
30 |
1.1 |