Class StringCoercer

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.reflect.Type,​java.util.function.BiFunction<JsonInput,​PropertySetting,​java.lang.String>>, java.util.function.Predicate<java.lang.Class<?>>

    public class StringCoercer
    extends TypeCoercer<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      StringCoercer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.BiFunction<JsonInput,​PropertySetting,​java.lang.String> apply​(java.lang.reflect.Type type)  
      boolean test​(java.lang.Class<?> type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • StringCoercer

        public StringCoercer()
    • Method Detail

      • test

        public boolean test​(java.lang.Class<?> type)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.Class<?>>
        Specified by:
        test in class TypeCoercer<java.lang.String>
      • apply

        public java.util.function.BiFunction<JsonInput,​PropertySetting,​java.lang.String> apply​(java.lang.reflect.Type type)
        Specified by:
        apply in interface java.util.function.Function<java.lang.reflect.Type,​java.util.function.BiFunction<JsonInput,​PropertySetting,​java.lang.String>>
        Specified by:
        apply in class TypeCoercer<java.lang.String>