java.lang.Object
org.refcodes.struct.RelationImpl<K,V>
- Type Parameters:
K
- The key's typeV
- The value's type
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<K>
,org.refcodes.mixin.ValueAccessor<V>
,Relation<K,
V>
- Direct Known Subclasses:
AttributeImpl
,PropertyImpl
,RelationImpl.RelationBuilderImpl
Implementation of the
Relation
interface.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Implementation of theRelation.RelationBuilder
interface.Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,
B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K, B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object> Nested classes/interfaces inherited from interface org.refcodes.struct.Relation
Relation.RelationBuilder<K,
V> Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,
B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V, B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object> -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Instantiates a new relation impl.RelationImpl
(K aKey, V aValue) Constructs aRelation
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.mixin.ValueAccessor
getValueOr
-
Field Details
-
_key
-
_value
-
-
Constructor Details
-
RelationImpl
protected RelationImpl()Instantiates a new relation impl. -
RelationImpl
Constructs aRelation
.- Parameters:
aKey
- The key for the key-value property.aValue
- The value for the key-value property.
-
-
Method Details