K
- record key type.public abstract class AbstractRecord<K extends java.lang.Comparable<K>> extends java.util.AbstractCollection<Cell<?>> implements Record<K>
Record
.Constructor and Description |
---|
AbstractRecord() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Cell<?> cell) |
boolean |
addAll(java.util.Collection<? extends Cell<?>> c) |
void |
clear() |
boolean |
equals(java.lang.Object obj)
Indicates whether some object is equal to this
Record . |
int |
hashCode()
Returns a hash code value for this record.
|
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
removeIf(java.util.function.Predicate<? super Cell<?>> filter) |
boolean |
retainAll(java.util.Collection<?> c) |
java.lang.String |
toString() |
contains, containsAll, isEmpty, iterator, size, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
emptyRecord, getEqualsPredicate, getKey, keyFunction
get, get
public java.lang.String toString()
toString
in class java.util.AbstractCollection<Cell<?>>
public boolean equals(java.lang.Object obj)
Record
Record
.
While conforming to the general contract established for
Object.equals
, implementations for
Record
subclasses will consider the value for getKey
and the cells contained in this record instance.
equals
in interface Record<K extends java.lang.Comparable<K>>
equals
in interface java.util.Collection<Cell<?>>
equals
in class java.lang.Object
obj
- the reference object against which this
is compared.true
if this Record
is the same as other
or for which the key and contained cells are equal;
false
otherwise.Record.hashCode()
public int hashCode()
Record
While conforming to the general contract established for
Object.hashCode
, in concert with #equals
,
implementations for Record
subclasses will consider the value for
getKey
and the cells contained in this record instance.
public boolean add(Cell<?> cell)
public boolean remove(java.lang.Object o)
public boolean addAll(java.util.Collection<? extends Cell<?>> c)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()