Lines Matching refs:in

9  * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
31 * Redistribution and use in source and binary forms, with or without
37 * * Redistributions in binary form must reproduce the above copyright notice,
38 * this list of conditions and the following disclaimer in the documentation
74 * byte flag would be used in order to specify an alternative version of the type format.
78 * the serialization is performed. In order to deserialize the object it read in the type byte, switching
79 * in order to select which class to call back into.
82 * of the fields is written out with an appropriate size format in descending order of the field's size. For
83 * example in the case of {@link LocalDate} year is written before month. Composite classes, such as
136 * in the stream. Refer to each class {@code writeReplace}
219 * @param in the data stream to read from, not null
222 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
223 type = in.readByte();
224 object = readInternal(type, in);
227 static Object read(ObjectInput in) throws IOException, ClassNotFoundException {
228 byte type = in.readByte();
229 return readInternal(type, in);
232 private static Object readInternal(byte type, ObjectInput in) throws IOException, ClassNotFoundException {
234 case CHRONO_TYPE: return AbstractChronology.readExternal(in);
235 case CHRONO_LOCAL_DATE_TIME_TYPE: return ChronoLocalDateTimeImpl.readExternal(in);
236 case CHRONO_ZONE_DATE_TIME_TYPE: return ChronoZonedDateTimeImpl.readExternal(in);
237 case JAPANESE_DATE_TYPE: return JapaneseDate.readExternal(in);
238 case JAPANESE_ERA_TYPE: return JapaneseEra.readExternal(in);
239 case HIJRAH_DATE_TYPE: return HijrahDate.readExternal(in);
240 case MINGUO_DATE_TYPE: return MinguoDate.readExternal(in);
241 case THAIBUDDHIST_DATE_TYPE: return ThaiBuddhistDate.readExternal(in);
242 case CHRONO_PERIOD_TYPE: return ChronoPeriodImpl.readExternal(in);