Searched defs:fields (Results 1 - 7 of 7) sorted by path

/libcore/luni/src/main/java/java/io/
H A DEmulatedFields.java21 * An EmulatedFields is an object that represents a set of emulated fields for
23 * different than the fields they were declared to have.
72 * @param fields
73 * an array of ObjectStreamFields, which describe the fields to
77 * fields.
79 public EmulatedFields(ObjectStreamField[] fields, ObjectStreamField[] declared) { argument
81 buildSlots(fields);
86 * Build emulated slots that correspond to emulated fields. A slot is a
89 * @param fields
90 * an array of ObjectStreamField, which describe the fields t
93 buildSlots(ObjectStreamField[] fields) argument
[all...]
H A DObjectStreamClass.java74 * Constant indicating that the class has no Serializable fields.
165 // Array of ObjectStreamField (see below) describing the fields of this
167 private transient ObjectStreamField[] fields; field in class:ObjectStreamClass
169 // Array of ObjectStreamField describing the serialized fields of this class
274 // Copy all fields to loadFields - they should be read by default in
276 ObjectStreamField[] fields = result.getFields();
278 if (fields != null) {
279 ObjectStreamField[] loadFields = new ObjectStreamField[fields.length];
281 for (int i = 0; i < fields.length; ++i) {
282 loadFields[i] = new ObjectStreamField(fields[
387 computeSerialVersionUID(Class<?> cl, Field[] fields) argument
786 ObjectStreamField[] fields() { method in class:ObjectStreamClass
[all...]
/libcore/luni/src/main/java/java/text/
H A DMessageFormat.java513 ArrayList<FieldContainer> fields = new ArrayList<FieldContainer>();
515 // format the message, and find fields
516 formatImpl((Object[]) object, buffer, new FieldPosition(0), fields);
522 for (FieldContainer fc : fields) {
554 FieldPosition position, List<FieldContainer> fields) {
566 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields);
577 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields);
586 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields);
587 handleFormat(format, arg, begin, fields);
590 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields);
553 formatImpl(Object[] objects, StringBuffer buffer, FieldPosition position, List<FieldContainer> fields) argument
606 handleArgumentField(int begin, int end, int argIndex, FieldPosition position, List<FieldContainer> fields) argument
651 handleFormat(Format format, Object arg, int begin, List<FieldContainer> fields) argument
[all...]
H A DSimpleDateFormat.java114 * <p>When numeric fields are adjacent directly, with no intervening delimiter
115 * characters, they constitute a run of adjacent numeric fields. Such runs are
485 ArrayList<FieldPosition> fields = new ArrayList<FieldPosition>();
487 // format the date, and find fields
488 formatImpl(date, buffer, null, fields);
494 for (FieldPosition pos : fields) {
510 * If the list {@code fields} is not null, find fields of this
511 * date, set FieldPositions with these fields, and add them to the fields
528 formatImpl(Date date, StringBuffer buffer, FieldPosition field, List<FieldPosition> fields) argument
581 append(StringBuffer buffer, FieldPosition position, List<FieldPosition> fields, char format, int count) argument
[all...]
/libcore/luni/src/main/java/java/util/
H A DCalendar.java31 * {@code Date} object and a set of integer fields such as
45 * returns a calendar whose locale is based on system settings and whose time fields
57 * fields, as well as their meaning. For example, the first month of the year
83 * {@code WEEK_OF_YEAR} fields, {@code Calendar} must determine
95 * When computing a {@code Date} from time fields, two special
103 * information to specify the missing fields. This may vary by calendar; for the
108 * <strong>Inconsistent information.</strong> If fields conflict, the calendar
109 * will give preference to fields set more recently. For example, when
111 * combinations of fields. The most recent combination, as determined by the
158 * {@code Calendar} fields ca
308 protected int[] fields; field in class:Calendar
[all...]
H A DGrego.java115 public static int[] dayToFields(long day, int[] fields) { argument
116 if (fields == null || fields.length < 5) {
117 fields = new int[5];
151 fields[0] = year;
152 fields[1] = month;
153 fields[2] = dayOfMonth;
154 fields[3] = dayOfWeek;
155 fields[4] = dayOfYear;
157 return fields;
170 timeToFields(long time, int[] fields) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeDecimalFormat.java535 for (int i = 0; i < fields.length; ++i) {
536 if (fields[i].equals(attr)) {
582 return fields[data[pos]];
595 private static Format.Field fields[] = { field in class:NativeDecimalFormat.FieldPositionIterator

Completed in 236 milliseconds