public static DecomposableMatchBuilder1<Float, Float> caseFloat(MatchesAny f) {
    List<Matcher<Object>> matchers = new ArrayList<>();
    matchers.add(any());

    return new DecomposableMatchBuilder1<>(
        matchers, 0, new PrimitiveFieldExtractor<>(Float.class));
  }
public static DecomposableMatchBuilder1 < Float , Float > caseFloat ( MatchesAny f ) { List < Matcher < Object > > matchers = new ArrayList < > ( ) ; matchers . add ( any ( ) ) ; return new DecomposableMatchBuilder1 < > ( matchers , 0 , new PrimitiveFieldExtractor < > ( Float . class ) ) ; }
Matches a float.

<p>If matched, the float value is extracted.