Class PrimitiveDecoders<T>

    • Field Detail

      • ALL

        public static final java.util.List<java.lang.Class<? extends Decoder>> ALL
      • ALL_INSTANCES

        public static final java.util.Map<java.lang.Class<?>,​Decoder.Text<?>> ALL_INSTANCES
    • Constructor Detail

      • PrimitiveDecoders

        public PrimitiveDecoders()
    • Method Detail

      • willDecode

        public boolean willDecode​(java.lang.String s)
        Description copied from interface: Decoder.Text
        Answer whether the given String can be decoded into an object of type T.
        Specified by:
        willDecode in interface Decoder.Text<T>
        Parameters:
        s - the string being tested for decodability.
        Returns:
        whether this decoder can decoded the supplied string.