code: public static DecomposableMatchBuilder0<Double> caseDouble(double d) {
      List<Matcher<Object>> matchers = new ArrayList<>();
      matchers.add(eq(d));
  
      return new DecomposableMatchBuilder0<>(matchers, new PrimitiveFieldExtractor<>(Double.class));
    }
docs: Matches a double.