Lines Matching defs:field

54  * field within the formatted output with two indices: the index
55 * of the first character of the field and the index of the last
56 * character of the field.
63 * formatted output (such as the position of a field).
76 * Input: Desired field to determine start and end offsets for.
79 int field = 0;
82 * Output: End offset of field in text.
83 * If the field does not occur in the text, 0 is returned.
88 * Output: Start offset of field in text.
89 * If the field does not occur in the text, 0 is returned.
94 * Desired field this FieldPosition is for.
99 * Creates a FieldPosition object for the given field. Fields are
108 public FieldPosition(int field) {
109 this.field = field;
113 * Creates a FieldPosition object for the given field constant. Fields are
118 * @param attribute Format.Field constant identifying a field
126 * Creates a <code>FieldPosition</code> object for the given field.
127 * The field is identified by an attribute constant from one of the
128 * <code>Field</code> subclasses as well as an integer field ID
134 * <code>fieldID</code>. If the field has no corresponding integer
137 * @param attribute Format.Field constant identifying a field
138 * @param fieldID integer constantce identifying a field
143 this.field = fieldID;
147 * Returns the field identifier as an attribute constant
149 * the field is specified only by an integer field ID.
151 * @return Identifier for the field
159 * Retrieves the field identifier.
162 return field;
166 * Retrieves the index of the first character in the requested field.
174 * requested field.
199 * field the FieldPosition is associated with, the begin/end will be
225 && field == other.field);
233 return (field << 24) | (beginIndex << 16) | endIndex;
242 "[field=" + field + ",attribute=" + attribute +
262 * represents an inteter constant and <code>field</code> equals it.
264 private boolean matchesField(Format.Field attribute, int field) {
268 return (field == this.field);
274 * of the FieldPosition if the arguments match the field of
279 * Indicates whether the field has been encountered before. If this