The `ImmutableList.Builder.add` method is a part of the `com.google.common.collect.ImmutableList` class in the Java programming language. This method is used to add elements to an existing or new `ImmutableList.Builder` object. It allows you to add elements to the builder, which can later be used to create an immutable list. Once the elements are added, the `ImmutableList.Builder` can be used to build an immutable list using the `build` method. This method ensures that the resulting list is immutable, meaning its content cannot be modified after creation.
Java ImmutableList.Builder.add - 30 examples found. These are the top rated real world Java examples of com.google.common.collect.ImmutableList.Builder.add extracted from open source projects. You can rate examples to help us improve the quality of examples.