public interface IntEncoder extends EncoderBase<IntEncoder>
| Modifier and Type | Method and Description |
|---|---|
default IntEncoder |
append(ConstExpr c) |
static IntEncoder |
choice(IntPredicate predicate,
IntEncoder then,
IntEncoder otherwise) |
default IntEncoder |
compact() |
static IntEncoder |
digitEncoder() |
ConstExpr |
encode(int val) |
default <U> Encoder<U> |
map(ToIntFunction<? super U> mapper) |
default IntEncoder |
prepend(ConstExpr c) |
ConstExpr encode(int val)
default IntEncoder prepend(ConstExpr c)
prepend in interface EncoderBase<IntEncoder>default IntEncoder append(ConstExpr c)
append in interface EncoderBase<IntEncoder>default IntEncoder compact()
compact in interface EncoderBase<IntEncoder>default <U> Encoder<U> map(ToIntFunction<? super U> mapper)
static IntEncoder digitEncoder()
static IntEncoder choice(IntPredicate predicate, IntEncoder then, IntEncoder otherwise)
Copyright © 2016. All rights reserved.