Interface BDecoder.MapDecodeListener

  • Enclosing class:
    BDecoder

    public static interface BDecoder.MapDecodeListener
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void mapDecoded​(java.lang.String context, java.util.Map<java.lang.String,​java.lang.Object> map, int nestingLevel)
      Triggered when a map is finished decoding.
    • Method Detail

      • mapDecoded

        void mapDecoded​(java.lang.String context,
                        java.util.Map<java.lang.String,​java.lang.Object> map,
                        int nestingLevel)
        Triggered when a map is finished decoding. Useful if you want to modify the map before it's returned. For example, removing unused key/values that would otherwise take up memory.
        Parameters:
        context - root context is ""
        map - Modifying this map will affect the return value from BDecoder.decode(..)
        nestingLevel - root level is 0