Interface JavaConstant.Simple.Dispatcher

    • Method Detail

      • isInstance

        @Instance
        boolean isInstance​(java.lang.Object instance)
        Checks if the supplied instance is of the type of this dispatcher.
        Parameters:
        instance - The instance to verify.
        Returns:
        true if the instance is of the supplied type.
      • toArray

        @Container
        java.lang.Object[] toArray​(int length)
        Returns an array of the dispatcher type.
        Parameters:
        length - The length of the array.
        Returns:
        An array of the type that is represented by this dispatcher with the given length.