Module swim.util
Package swim.util

Interface PairBuilder<K,​V,​O>

  • All Known Subinterfaces:
    EntryBuilder<K,​V,​O>
    All Known Implementing Classes:
    UriQueryBuilder

    public interface PairBuilder<K,​V,​O>
    Type that accumulates pairs of input values, and binds an output result of type O.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean add​(K key, V value)
      Adds an input pair 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.
      • bind

        O bind()
        Returns the output result of this builder.