Uses of Interface
io.activej.serializer.stream.StreamCodec
Packages that use StreamCodec
-
Uses of StreamCodec in io.activej.serializer.stream
Subinterfaces of StreamCodec in io.activej.serializer.streamClasses in io.activej.serializer.stream that implement StreamCodecMethods in io.activej.serializer.stream that return StreamCodecModifier and TypeMethodDescriptionStreamCodecs.SubtypeBuilder.build()static <T> StreamCodec<T>StreamCodec.of(StreamEncoder<? super T> encoder, StreamDecoder<? extends T> decoder) static <T> StreamCodec<T[]>StreamCodecs.ofArray(StreamCodec<T> itemCodec, IntFunction<T[]> factory) static <T> StreamCodec<T[]>StreamCodecs.ofArray(IntFunction<? extends StreamCodec<? extends T>> itemCodecFn, IntFunction<T[]> factory) static <T> StreamCodec<T>StreamCodec.ofBinarySerializer(BinarySerializer<T> binarySerializer) static <T> StreamCodec<T>StreamCodec.ofBinarySerializer(BinarySerializer<T> binarySerializer, int estimatedSize) static StreamCodec<Boolean>StreamCodecs.ofBoolean()static StreamCodec<boolean[]>StreamCodecs.ofBooleanArray()static StreamCodec<Byte>StreamCodecs.ofByte()static StreamCodec<byte[]>StreamCodecs.ofByteArray()static StreamCodec<Character>StreamCodecs.ofChar()static StreamCodec<char[]>StreamCodecs.ofCharArray()static <T> StreamCodec<Collection<T>>StreamCodecs.ofCollection(StreamCodec<T> itemCodec) static <T,C extends Collection<T>>
StreamCodec<C>StreamCodecs.ofCollection(StreamCodec<T> itemCodec, IntFunction<C> factory) static StreamCodec<Double>StreamCodecs.ofDouble()static StreamCodec<double[]>StreamCodecs.ofDoubleArray()static <E extends Enum<E>>
StreamCodec<E>static <E extends Enum<E>,V>
StreamCodec<Map<E,V>> StreamCodecs.ofEnumMap(Class<E> type, StreamCodec<V> valueCodec) static <E extends Enum<E>>
StreamCodec<Set<E>>static StreamCodec<Float>StreamCodecs.ofFloat()static StreamCodec<float[]>StreamCodecs.ofFloatArray()static StreamCodec<Integer>StreamCodecs.ofInt()static StreamCodec<int[]>StreamCodecs.ofIntArray()static <T> StreamCodec<List<T>>StreamCodecs.ofList(StreamCodec<T> itemCodec) static <T> StreamCodec<List<T>>StreamCodecs.ofList(IntFunction<? extends StreamCodec<? extends T>> itemCodecFn) static StreamCodec<Long>StreamCodecs.ofLong()static StreamCodec<long[]>StreamCodecs.ofLongArray()static <K,V> StreamCodec<Map<K, V>> StreamCodecs.ofMap(StreamCodec<K> keyCodec, StreamCodec<V> valueCodec) static <K,V> StreamCodec<Map<K, V>> StreamCodecs.ofMap(StreamCodec<K> keyCodec, Function<? super K, ? extends StreamCodec<? extends V>> valueCodecFn) static <K,V, M extends Map<K, V>>
StreamCodec<M>StreamCodecs.ofMap(StreamCodec<K> keyCodec, Function<? super K, ? extends StreamCodec<? extends V>> valueCodecFn, IntFunction<M> factory) static <T> StreamCodec<@Nullable T>StreamCodecs.ofNullable(StreamCodec<@NotNull T> codec) static <T> StreamCodec<Optional<T>>StreamCodecs.ofOptional(StreamCodec<T> codec) static <T> StreamCodec<Set<T>>StreamCodecs.ofSet(StreamCodec<T> itemCodec) static StreamCodec<Short>StreamCodecs.ofShort()static StreamCodec<short[]>StreamCodecs.ofShortArray()static StreamCodec<String>StreamCodecs.ofString()static <T> StreamCodec<T>StreamCodecs.ofSubtype(LinkedHashMap<Class<? extends T>, StreamCodec<? extends T>> codecs) static StreamCodec<Integer>StreamCodecs.ofVarInt()static StreamCodec<int[]>StreamCodecs.ofVarIntArray()static StreamCodec<Long>StreamCodecs.ofVarLong()static StreamCodec<long[]>StreamCodecs.ofVarLongArray()static StreamCodec<Void>StreamCodecs.ofVoid()static <T> StreamCodec<T>StreamCodecs.reference(StreamCodec<T> codec) static <T> StreamCodec<T>StreamCodecs.singleton(T instance) static <T,R> StreamCodec<R> StreamCodecs.transform(StreamCodec<T> codec, Function<T, ? extends R> reader, Function<R, T> writer) Methods in io.activej.serializer.stream with parameters of type StreamCodecModifier and TypeMethodDescription<E extends T>
StreamCodecs.SubtypeBuilder<T>StreamCodecs.SubtypeBuilder.add(Class<E> type, StreamCodec<E> codec) static <T> StreamCodec<T[]>StreamCodecs.ofArray(StreamCodec<T> itemCodec, IntFunction<T[]> factory) static <T> StreamCodec<Collection<T>>StreamCodecs.ofCollection(StreamCodec<T> itemCodec) static <T,C extends Collection<T>>
StreamCodec<C>StreamCodecs.ofCollection(StreamCodec<T> itemCodec, IntFunction<C> factory) static <E extends Enum<E>,V>
StreamCodec<Map<E,V>> StreamCodecs.ofEnumMap(Class<E> type, StreamCodec<V> valueCodec) static <T> StreamCodec<List<T>>StreamCodecs.ofList(StreamCodec<T> itemCodec) static <K,V> StreamCodec<Map<K, V>> StreamCodecs.ofMap(StreamCodec<K> keyCodec, StreamCodec<V> valueCodec) static <K,V> StreamCodec<Map<K, V>> StreamCodecs.ofMap(StreamCodec<K> keyCodec, Function<? super K, ? extends StreamCodec<? extends V>> valueCodecFn) static <K,V, M extends Map<K, V>>
StreamCodec<M>StreamCodecs.ofMap(StreamCodec<K> keyCodec, Function<? super K, ? extends StreamCodec<? extends V>> valueCodecFn, IntFunction<M> factory) static <T> StreamCodec<@Nullable T>StreamCodecs.ofNullable(StreamCodec<@NotNull T> codec) static <T> StreamCodec<Optional<T>>StreamCodecs.ofOptional(StreamCodec<T> codec) static <T> StreamCodec<Set<T>>StreamCodecs.ofSet(StreamCodec<T> itemCodec) static <T> StreamCodec<T>StreamCodecs.reference(StreamCodec<T> codec) static <T,R> StreamCodec<R> StreamCodecs.transform(StreamCodec<T> codec, Function<T, ? extends R> reader, Function<R, T> writer) Method parameters in io.activej.serializer.stream with type arguments of type StreamCodecModifier and TypeMethodDescriptionstatic <T> StreamCodec<T[]>StreamCodecs.ofArray(IntFunction<? extends StreamCodec<? extends T>> itemCodecFn, IntFunction<T[]> factory) static <T> StreamCodec<List<T>>StreamCodecs.ofList(IntFunction<? extends StreamCodec<? extends T>> itemCodecFn) static <K,V> StreamCodec<Map<K, V>> StreamCodecs.ofMap(StreamCodec<K> keyCodec, Function<? super K, ? extends StreamCodec<? extends V>> valueCodecFn) static <K,V, M extends Map<K, V>>
StreamCodec<M>StreamCodecs.ofMap(StreamCodec<K> keyCodec, Function<? super K, ? extends StreamCodec<? extends V>> valueCodecFn, IntFunction<M> factory) static <T> StreamCodec<T>StreamCodecs.ofSubtype(LinkedHashMap<Class<? extends T>, StreamCodec<? extends T>> codecs)