Interface OptionalTokened

    • Method Detail

      • getToken

        java.lang.String getToken()
        Returns:
        the token of the current OptionalTokened.
      • hasToken

        boolean hasToken()
        Returns:
        true if the current OptionalTokened has a token.
      • hasSameTokenAs

        default boolean hasSameTokenAs​(OptionalTokened object)
        Parameters:
        object -
        Returns:
        true if current OptionalTokened has the same token as the given object.
      • hasToken

        default boolean hasToken​(java.lang.String token)
        Parameters:
        token -
        Returns:
        true if the current OptionalTokened has the given token.