Class LookupForClass

java.lang.Object
de.grogra.pf.registry.LookupForClass
All Implemented Interfaces:
Map

public class LookupForClass extends Object implements Map
  • Constructor Details

    • LookupForClass

      public LookupForClass(Item base)
  • Method Details

    • get

      public Object get(Object key, Object defaultValue)
      Description copied from interface: Map
      Returns the value associated with key. If there is no value associated with key, defaultValue is returned.
      Specified by:
      get in interface Map
      Parameters:
      key - a key for the map
      defaultValue - the default value
      Returns:
      the associated value, or defaultValue
    • lookup

      public Object lookup(Class cls)