Uses of Class
com.google.common.collect.ImmutableSet.Builder
Packages that use ImmutableSet.Builder
Package
Description
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
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.collectModifier and TypeClassDescriptionstatic final classA 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.BuilderModifier and TypeMethodDescriptionAdds each element ofelementsto theImmutableSet, ignoring duplicate elements (only the first duplicate element is added).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(Comparator<? super V> valueComparator) Methods in com.google.common.collect with parameters of type ImmutableSet.BuilderModifier and TypeMethodDescription(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.BuilderModifier and TypeMethodDescriptionprivate voidClassPath.LocationInfo.scan(File file, Set<File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder) private voidClassPath.LocationInfo.scanDirectory(File directory, ImmutableSet.Builder<ClassPath.ResourceInfo> builder) private voidClassPath.LocationInfo.scanDirectory(File directory, String packagePrefix, Set<File> currentPath, ImmutableSet.Builder<ClassPath.ResourceInfo> builder) Recursively scan the given directory, adding resources for each file encountered.private voidClassPath.LocationInfo.scanJar(File file, Set<File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder) private voidClassPath.LocationInfo.scanJarFile(JarFile file, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)