The "add" method in the Java com.google.common.collect.ImmutableSet.Builder class allows you to add elements to the builder's set. This method takes an input element as a parameter and adds it to the set being built. The resulting set remains immutable, ensuring that it cannot be modified after creation.
Java ImmutableSet.Builder.add - 30 examples found. These are the top rated real world Java examples of com.google.common.collect.ImmutableSet.Builder.add extracted from open source projects. You can rate examples to help us improve the quality of examples.