public static class IntegerTransformer.Impl<T> extends Transformer.Base<IntegerTransformer<T>,IntegerChecker<T>,T,Integer> implements IntegerTransformer<T>
IntegerTransformer.Impl<T>
Transformer.Base<TX extends Transformer<TX,V,T,R>,V extends Checker<V,T,R>,T,R>
Matcher.JunctionType
Constructor and Description |
---|
Impl(Supplier<T> baseValue,
Function<T,Integer> transformFunction) |
Modifier and Type | Method and Description |
---|---|
IntegerTransformer<Integer> |
rebase()
Override this method so that it returns extending class.
|
IntegerChecker<T> |
toChecker(Function<T,Integer> transformFunction) |
addTransformAndCheckClause, checkWithPredicate, statementPredicate, statementValue, then, transformValueWith
addPredicate, allOf, anyOf, baseValue, childPredicates, hasNoChild, me, toPredicate, transformFunction, value
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, transform
asObject, expectException, invoke, invokeStatic, stringify, toBoolean, toDouble, toFloat, toInteger, toList, toLong, toObject, toShort, toStream, toString, toThrowable
addTransformAndCheckClause, checkWithPredicate, done, satisfies, then, toBe, transformValueWith
allOf, anyOf, toPredicate, transformFunction
booleanValue, createPredicateForAllOf, doubleValue, floatValue, integerValue, listValue, longValue, objectValue, shortValue, statementPredicate, statementValue, streamValue, stringValue, throwableValue
public IntegerChecker<T> toChecker(Function<T,Integer> transformFunction)
toChecker
in class Transformer.Base<IntegerTransformer<T>,IntegerChecker<T>,T,Integer>
public IntegerTransformer<Integer> rebase()
Matcher.Base
Override this method so that it returns extending class.
rebase
in class Matcher.Base<IntegerTransformer<T>,T,Integer>
Copyright © 2024. All rights reserved.