LEFT | RIGHT |
1 // © 2017 and later: Unicode, Inc. and others. | 1 // © 2017 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html#License | 2 // License & terms of use: http://www.unicode.org/copyright.html#License |
3 package com.ibm.icu.impl.number; | 3 package com.ibm.icu.impl.number; |
4 | 4 |
5 import java.io.IOException; | 5 import java.io.IOException; |
6 import java.io.ObjectInputStream; | 6 import java.io.ObjectInputStream; |
7 import java.io.ObjectOutputStream; | 7 import java.io.ObjectOutputStream; |
8 import java.io.Serializable; | 8 import java.io.Serializable; |
9 import java.lang.reflect.Field; | 9 import java.lang.reflect.Field; |
10 import java.lang.reflect.Modifier; | 10 import java.lang.reflect.Modifier; |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 | 985 |
986 // 2) Write each field with its name and value | 986 // 2) Write each field with its name and value |
987 for (int i = 0; i < count; i++) { | 987 for (int i = 0; i < count; i++) { |
988 Field field = fieldsToSerialize.get(i); | 988 Field field = fieldsToSerialize.get(i); |
989 Object value = valuesToSerialize.get(i); | 989 Object value = valuesToSerialize.get(i); |
990 oos.writeObject(field.getName()); | 990 oos.writeObject(field.getName()); |
991 oos.writeObject(value); | 991 oos.writeObject(value); |
992 } | 992 } |
993 } | 993 } |
994 } | 994 } |
LEFT | RIGHT |