Interface Case

    • Method Detail

      • when

        @NotNull
        @CheckReturnValue
        @NotNull Case.OngoingWhenThen when​(Expression nextExpression)
        Creates a new case/when expression with an additional WHEN block.
        Parameters:
        nextExpression - The next expression to use.
        Returns:
        An ongoing when builder.
      • create

        static Case create​(@Nullable
                           @Nullable Expression expression)