Module swim.util
Package swim.util

Interface EntryBuilder<K,​V,​O>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean add​(Map.Entry<K,​V> input)
      Adds a single entry to this builder, returning true if the state of the builder changed.
      boolean add​(K key, V value)
      Adds an input pair to this builder, returning true if the state of the builder changed.
      boolean addAll​(Collection<? extends Map.Entry<K,​V>> inputs)
      Adds multiple entries to this builder, returning true if the state of the builder changed.
      boolean addAll​(Map<? extends K,​? extends V> inputs)
      Adds multiple entries to this builder, returning true if the state of the builder changed.
      O bind()
      Returns the output result of this builder.
    • Method Detail

      • add

        boolean add​(K key,
                    V value)
        Adds an input pair to this builder, returning true if the state of the builder changed.
        Specified by:
        add in interface PairBuilder<K,​V,​O>
      • add

        boolean add​(Map.Entry<K,​V> input)
        Adds a single entry to this builder, returning true if the state of the builder changed.
        Specified by:
        add in interface Builder<K,​V>
      • addAll

        boolean addAll​(Collection<? extends Map.Entry<K,​V>> inputs)
        Adds multiple entries to this builder, returning true if the state of the builder changed.
        Specified by:
        addAll in interface Builder<K,​V>
      • addAll

        boolean addAll​(Map<? extends K,​? extends V> inputs)
        Adds multiple entries to this builder, returning true if the state of the builder changed.
      • bind

        O bind()
        Returns the output result of this builder.
        Specified by:
        bind in interface Builder<K,​V>
        Specified by:
        bind in interface PairBuilder<K,​V,​O>