what-the-bank/sources/com/airbnb/lottie/parser/FloatParser.java

19 lines
577 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.parser;
import com.airbnb.lottie.parser.moshi.JsonReader;
import java.io.IOException;
/* loaded from: classes.dex */
public class FloatParser implements ValueParser<Float> {
public static final FloatParser INSTANCE = new FloatParser();
private FloatParser() {
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // com.airbnb.lottie.parser.ValueParser
public Float parse(JsonReader jsonReader, float f) throws IOException {
return Float.valueOf(JsonUtils.valueFromObject(jsonReader) * f);
}
}