script-astra/Android/Sdk/sources/android-35/android/icu/text/PluralRulesSerialProxy.java

30 lines
952 B
Java
Raw Normal View History

2025-01-20 15:15:20 +00:00
/* GENERATED SOURCE. DO NOT MODIFY. */
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2013, Google Inc, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package android.icu.text;
import java.io.ObjectStreamException;
import java.io.Serializable;
/**
* @author markdavis
*
*/
class PluralRulesSerialProxy implements Serializable {
private static final long serialVersionUID = 42L;
private final String data;
PluralRulesSerialProxy(String rules) {
data = rules;
}
private Object readResolve() throws ObjectStreamException {
return PluralRules.createRules(data);
}
}