Interface Relation.RelationBuilder<K,​V>

    • Nested Class Summary

      • 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.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>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default Relation.RelationBuilder<K,​V> withKey​(K aKey)
      With key.
      default Relation.RelationBuilder<K,​V> withValue​(V aValue)
      With value.
      • Methods inherited from interface org.refcodes.mixin.KeyAccessor

        getKey
      • Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyMutator

        setKey
      • Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyProperty

        letKey
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor

        getValue, getValueOr
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueMutator

        setValue
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueProperty

        letValue
    • Method Detail

      • withKey

        default Relation.RelationBuilder<K,​V> withKey​(K aKey)
        With key.
        Specified by:
        withKey in interface org.refcodes.mixin.KeyAccessor.KeyBuilder<K,​V>
        Parameters:
        aKey - the key
        Returns:
        the relation builder
      • withValue

        default Relation.RelationBuilder<K,​V> withValue​(V aValue)
        With value.
        Specified by:
        withValue in interface org.refcodes.mixin.ValueAccessor.ValueBuilder<K,​V>
        Parameters:
        aValue - the value
        Returns:
        the relation builder