- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for ImmutableSet (0.15 seconds)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
ImmutableSet<String> validIsatapAddresses = ImmutableSet.of( "2001:db8::5efe:102:304", "2001:db8::100:5efe:102:304", // Private Multicast? Not likely. "2001:db8::200:5efe:102:304", "2001:db8::300:5efe:102:304" // Public Multicast? Also unlikely. ); ImmutableSet<String> nonIsatapAddresses = ImmutableSet.of(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
return new SpliteratorTester<>( ImmutableSet.of( () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()), () -> new GeneralSpliteratorOfPrimitive<>(spliteratorSupplier.get(), c -> c::accept))); } private final ImmutableSet<Supplier<GeneralSpliterator<E>>> spliteratorSuppliers; private SpliteratorTester(ImmutableSet<Supplier<GeneralSpliterator<E>>> spliteratorSuppliers) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
return new SpliteratorTester<>( ImmutableSet.of( () -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()), () -> new GeneralSpliteratorOfPrimitive<>(spliteratorSupplier.get(), c -> c::accept))); } private final ImmutableSet<Supplier<GeneralSpliterator<E>>> spliteratorSuppliers; private SpliteratorTester(ImmutableSet<Supplier<GeneralSpliterator<E>>> spliteratorSuppliers) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
return Ordering.from(comparator).immutableSortedCopy((Iterable<@NonNull E>) getDelegate()); } /** * Returns an {@code ImmutableSet} containing all of the elements from this fluent iterable with * duplicates removed. * * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSet#toImmutableSet} to {@code * stream.collect()}. * * @throws NullPointerException if any element is {@code null}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
return Ordering.from(comparator).immutableSortedCopy((Iterable<@NonNull E>) getDelegate()); } /** * Returns an {@code ImmutableSet} containing all of the elements from this fluent iterable with * duplicates removed. * * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSet#toImmutableSet} to {@code * stream.collect()}. * * @throws NullPointerException if any element is {@code null}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
*/ private static class ExampleStackTrace extends IllegalStateException { static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0]; static final ImmutableSet<String> EXCLUDED_CLASS_NAMES = ImmutableSet.of( CycleDetectingLockFactory.class.getName(), ExampleStackTrace.class.getName(), LockGraphNode.class.getName());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
import static com.google.common.graph.GraphConstants.EDGE_NOT_IN_GRAPH; import static com.google.common.graph.GraphConstants.NODE_NOT_IN_GRAPH; import static java.util.Objects.requireNonNull; import com.google.common.collect.ImmutableSet; import java.util.Map; import java.util.Set; import java.util.TreeMap; /** * Standard implementation of {@link Network} that supports the options supplied by {@link * NetworkBuilder}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* Example usage: * * {@snippet : * Color red = new Color("red", 255, 0, 0); * ... * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue); * * ImmutableMap<String, Color> colorForName = uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
* Example usage: * * {@snippet : * Color red = new Color("red", 255, 0, 0); * ... * ImmutableSet<Color> allColors = ImmutableSet.of(red, green, blue); * * ImmutableMap<String, Color> colorForName = uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
import com.google.common.cache.LocalCache.AbstractCacheSet; import com.google.common.collect.AbstractSequentialIterator; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.primitives.Ints; import com.google.common.util.concurrent.ExecutionError; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.SettableFuture;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0)