Lines Matching defs:key
130 * uses {@link Tuple#EMPTY} as a key)
131 * @see #getRecord(Tuple key)
218 * contains a record with the same tuple key as the given record
223 Tuple key = record.getTuple();
224 if (map.put(key, record) != null) {
226 "with tuple " + key);
278 * Gets the record associated with the given key, or the singleton
280 * {@code key} is {@code null} or empty.
282 * @param key The record key, or an empty tuple (see {@link
288 * @return the record associated with the given key, or {@code null}
289 * if no record in this aggregation is associated with the given key
292 getRecord(Tuple key)
294 if (key == null) {
295 key = Tuple.EMPTY;
297 return map.get(key);