Class MapContext

  • All Implemented Interfaces:
    CustomContext

    public class MapContext
    extends Object
    implements CustomContext
    A CustomContext that holds data in a Map
    Author:
    redlab_b
    • Constructor Detail

      • MapContext

        public MapContext()
    • Method Detail

      • get

        public Object get​(String key)
        Parameters:
        key - the key
        Returns:
        the object belonging to the key or null if not found
      • put

        public void put​(String key,
                        Object o)
        Parameters:
        key - the key
        o - the object to put.