@Beta public abstract class AbstractIntegerStringCodec<N extends Number & Comparable<N>,T extends RangeRestrictedTypeDefinition<T,N>> extends TypeDefinitionAwareCodec<N,T>
from, fromType, getInputClass, getTypeDefinition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serialize
public static AbstractIntegerStringCodec<Byte,Int8TypeDefinition> from(Int8TypeDefinition type)
public static AbstractIntegerStringCodec<Short,Int16TypeDefinition> from(Int16TypeDefinition type)
public static AbstractIntegerStringCodec<Integer,Int32TypeDefinition> from(Int32TypeDefinition type)
public static AbstractIntegerStringCodec<Long,Int64TypeDefinition> from(Int64TypeDefinition type)
public static AbstractIntegerStringCodec<Short,Uint8TypeDefinition> from(Uint8TypeDefinition type)
public static AbstractIntegerStringCodec<Integer,Uint16TypeDefinition> from(Uint16TypeDefinition type)
public static AbstractIntegerStringCodec<Long,Uint32TypeDefinition> from(Uint32TypeDefinition type)
public static AbstractIntegerStringCodec<BigInteger,Uint64TypeDefinition> from(Uint64TypeDefinition type)
public final N deserialize(String stringRepresentation)
Deserializer
stringRepresentation
- Input objectprotected static <N extends Number & Comparable<N>> Optional<RangeConstraint<N>> extractRange(RangeRestrictedTypeDefinition<?,N> type)
Copyright © 2019 OpenDaylight. All rights reserved.