Class SetCoder<T>

  • Type Parameters:
    T - the type of the elements of the set
    All Implemented Interfaces:
    java.io.Serializable

    public class SetCoder<T>
    extends IterableLikeCoder<T,​java.util.Set<T>>
    A SetCoder encodes any Set using the format of IterableLikeCoder. The elements may not be in a deterministic order, depending on the Set implementation.
    See Also:
    Serialized Form
    • Constructor Detail

      • SetCoder

        protected SetCoder​(Coder<T> elemCoder)