code: @Benchmark
    public void fizzBuzzPatternMatching() {
      IntStream.range(0, 101).forEach(
          n -> System.out.println(
              match(Tuple2.of(n % 3, n % 5))
                  .when(tuple2(eq(0), eq(0))).get(() -> "FizzBuzz")
                  .when(tuple2(eq(0), any())).get(y -> "Fizz")
                  .when(tuple2(any(), eq(0))).get(x -> "Buzz")
                  .orElse(String.valueOf(n))
                  .getMatch()
          )
      );
    }
docs: Fizzbuzz benchmark using motif pattern matching.