Class TypedIFGrabber<T extends TypedIF>

java.lang.Object
net.ontopia.topicmaps.utils.TypedIFGrabber<T>
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 Details

    • TypedIFGrabber

      public TypedIFGrabber()
  • Method Details

    • 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