Class NameSetBuilder


  • public class NameSetBuilder
    extends java.lang.Object
    Used to build NameSets.
    • Constructor Summary

      Constructors 
      Constructor Description
      NameSetBuilder()
      Creates an empty builder for a NameSet.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String name)
      Adds a name to the representing NameSet
      void invert()
      Inverts the representing NameSet
      NameSet toNameSet()
      Creates a new NameSet with the current state.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NameSetBuilder

        public NameSetBuilder()
        Creates an empty builder for a NameSet.
    • Method Detail

      • invert

        public void invert()
        Inverts the representing NameSet
      • add

        public void add​(java.lang.String name)
        Adds a name to the representing NameSet
        Parameters:
        name -
      • toNameSet

        public NameSet toNameSet()
        Creates a new NameSet with the current state.
        Returns:
        created NameSet