Class Contexts.EmptyContext

  • All Implemented Interfaces:
    Context, Wrapper
    Enclosing class:
    Contexts

    static class Contexts.EmptyContext
    extends java.lang.Object
    implements Context
    Empty context.
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyContext()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T unwrap​(java.lang.Class<T> clazz)
      Finds an instance of an interface implemented by this object, or returns null if this object does not support that interface.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmptyContext

        EmptyContext()
    • Method Detail

      • unwrap

        public <T> T unwrap​(java.lang.Class<T> clazz)
        Description copied from interface: Wrapper
        Finds an instance of an interface implemented by this object, or returns null if this object does not support that interface.
        Specified by:
        unwrap in interface Wrapper