Class CastFunction<E>

  • All Implemented Interfaces:
    com.google.common.base.Function<Object,​E>, Function<Object,​E>

    public abstract class CastFunction<E>
    extends Object
    implements com.google.common.base.Function<Object,​E>
    • Constructor Detail

      • CastFunction

        public CastFunction​(Class<? extends E> clazz)
    • Method Detail

      • formatMessage

        protected abstract String formatMessage​(Object object)
      • apply

        public E apply​(Object object)
        Specified by:
        apply in interface com.google.common.base.Function<Object,​E>
        Specified by:
        apply in interface Function<Object,​E>
      • getClazz

        public Class<? extends E> getClazz()