43 lines
1.0 KiB
Java
43 lines
1.0 KiB
Java
package o;
|
|
|
|
import java.io.Closeable;
|
|
import java.io.Flushable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class Yog implements Closeable, Flushable {
|
|
|
|
/* loaded from: classes.dex */
|
|
public enum RVV {
|
|
AUTO_CLOSE_TARGET(true),
|
|
AUTO_CLOSE_JSON_CONTENT(true),
|
|
FLUSH_PASSED_TO_STREAM(true),
|
|
QUOTE_FIELD_NAMES(true),
|
|
QUOTE_NON_NUMERIC_NUMBERS(true),
|
|
WRITE_NUMBERS_AS_STRINGS(false),
|
|
WRITE_BIGDECIMAL_AS_PLAIN(false),
|
|
ESCAPE_NON_ASCII(false),
|
|
STRICT_DUPLICATE_DETECTION(false),
|
|
IGNORE_UNKNOWN(false);
|
|
|
|
private final boolean _defaultState;
|
|
private final int _mask = 1 << ordinal();
|
|
|
|
public static int c() {
|
|
int i = 0;
|
|
for (RVV rvv : values()) {
|
|
if (rvv._defaultState) {
|
|
i |= rvv._mask;
|
|
}
|
|
}
|
|
return i;
|
|
}
|
|
|
|
RVV(boolean z) {
|
|
this._defaultState = z;
|
|
}
|
|
}
|
|
|
|
protected Yog() {
|
|
}
|
|
}
|