Uses of Class
com.google.common.collect.ImmutableSet.Builder
-
Packages that use ImmutableSet.Builder Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.reflect This package contains utilities to work with Java reflection. -
-
Uses of ImmutableSet.Builder in com.google.common.collect
Subclasses of ImmutableSet.Builder in com.google.common.collect Modifier and Type Class Description static class
ImmutableSortedSet.Builder<E>
A builder for creating immutable sorted set instances, especiallypublic static final
sets ("constant sets"), with a given comparator.Methods in com.google.common.collect that return ImmutableSet.Builder Modifier and Type Method Description ImmutableSet.Builder<E>
ImmutableSet.Builder. add(E element)
ImmutableSet.Builder<E>
ImmutableSet.Builder. add(E... elements)
ImmutableSet.Builder<E>
ImmutableSet.Builder. addAll(java.lang.Iterable<? extends E> elements)
Adds each element ofelements
to theImmutableSet
, ignoring duplicate elements (only the first duplicate element is added).ImmutableSet.Builder<E>
ImmutableSet.Builder. addAll(java.util.Iterator<? extends E> elements)
static <E> ImmutableSet.Builder<E>
ImmutableSet. builder()
Returns a new builder.static <E> ImmutableSet.Builder<E>
ImmutableSet. builderWithExpectedSize(int expectedSize)
Returns a new builder, expecting the specified number of distinct elements to be added.(package private) ImmutableSet.Builder<E>
ImmutableSet.Builder. combine(ImmutableSet.Builder<E> other)
private static <V> ImmutableSet.Builder<V>
ImmutableSetMultimap. valuesBuilder(java.util.Comparator<? super V> valueComparator)
Methods in com.google.common.collect with parameters of type ImmutableSet.Builder Modifier and Type Method Description (package private) ImmutableSet.Builder<E>
ImmutableSet.Builder. combine(ImmutableSet.Builder<E> other)
(package private) ImmutableSortedSet.Builder<E>
ImmutableSortedSet.Builder. combine(ImmutableSet.Builder<E> builder)
-
Uses of ImmutableSet.Builder in com.google.common.reflect
Methods in com.google.common.reflect with parameters of type ImmutableSet.Builder Modifier and Type Method Description private void
ClassPath.LocationInfo. scan(java.io.File file, java.util.Set<java.io.File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
private void
ClassPath.LocationInfo. scanDirectory(java.io.File directory, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
private void
ClassPath.LocationInfo. scanDirectory(java.io.File directory, java.lang.String packagePrefix, java.util.Set<java.io.File> currentPath, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
Recursively scan the given directory, adding resources for each file encountered.private void
ClassPath.LocationInfo. scanJar(java.io.File file, java.util.Set<java.io.File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
private void
ClassPath.LocationInfo. scanJarFile(java.util.jar.JarFile file, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
-