Class TypedIFGrabber<T extends TypedIF>

  • All Implemented Interfaces:
    Function<T,​TopicIF>

    public class TypedIFGrabber<T extends TypedIF>
    extends Object
    implements Function<T,​TopicIF>
    INTERNAL: Grabber that grabs the type property of the TypedIF object given to it.

    • Constructor Detail

      • TypedIFGrabber

        public TypedIFGrabber()
    • Method Detail

      • apply

        public TopicIF apply​(T typed)
        INTERNAL: Grabs the topic which is the type of the given typedIF
        Specified by:
        apply in interface Function<T extends TypedIF,​TopicIF>
        Parameters:
        typed - the given object; internally typecast to TypedIF
        Returns:
        object which is the type; an object implementing TopicIF