ShortChecker.java

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

Mutations

29

1.1
Location : rebase
Killed by : none
replaced return value with null for com/github/valid8j/pcond/core/fluent/builtins/ShortChecker$Impl::rebase → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.7.3