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 classImmutableSortedSet.Builder<E>A builder for creating immutable sorted set instances, especiallypublic static finalsets ("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 ofelementsto 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 voidClassPath.LocationInfo. scan(java.io.File file, java.util.Set<java.io.File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)private voidClassPath.LocationInfo. scanDirectory(java.io.File directory, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)private voidClassPath.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 voidClassPath.LocationInfo. scanJar(java.io.File file, java.util.Set<java.io.File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)private voidClassPath.LocationInfo. scanJarFile(java.util.jar.JarFile file, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
-