Class InstantCoercer

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

    public class InstantCoercer
    extends TypeCoercer<java.time.Instant>
    • Constructor Summary

      Constructors 
      Constructor Description
      InstantCoercer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.BiFunction<JsonInput,​PropertySetting,​java.time.Instant> apply​(java.lang.reflect.Type type)  
      boolean test​(java.lang.Class<?> aClass)  
      • 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

      • InstantCoercer

        public InstantCoercer()
    • Method Detail

      • test

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

        public java.util.function.BiFunction<JsonInput,​PropertySetting,​java.time.Instant> 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.time.Instant>>
        Specified by:
        apply in class TypeCoercer<java.time.Instant>