- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for _new (0.02 seconds)
-
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private final ForwardingWrapperTester tester = new ForwardingWrapperTester(); public void testGoodForwarder() { tester.testForwarding(Arithmetic.class, ForwardingArithmetic::new); tester.testForwarding(ParameterTypesDifferent.class, ParameterTypesDifferentForwarder::new); } public void testVoidMethodForwarding() { tester.testForwarding(Runnable.class, ForwardingRunnable::new); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private final ForwardingWrapperTester tester = new ForwardingWrapperTester(); public void testGoodForwarder() { tester.testForwarding(Arithmetic.class, ForwardingArithmetic::new); tester.testForwarding(ParameterTypesDifferent.class, ParameterTypesDifferentForwarder::new); } public void testVoidMethodForwarding() { tester.testForwarding(Runnable.class, ForwardingRunnable::new); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
private DummyInternalEntry() { throw new AssertionError(); } @Override public DummyInternalEntry getNext() { throw new AssertionError(); } @Override public int getHash() { throw new AssertionError(); } @Override public Object getKey() { throw new AssertionError(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
Supplier<Spliterator<E>> spliteratorSupplier) { return new SpliteratorTester<>( ImmutableSet.of(() -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get()))); } /** * @since 33.4.0 (but since 28.1 in the JRE flavor) */ public static SpliteratorTester<Integer> ofInt(Supplier<Spliterator.OfInt> spliteratorSupplier) { return new SpliteratorTester<>( ImmutableSet.of(
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
() -> new GeneralSpliteratorOfPrimitive<>(spliteratorSupplier.get(), c -> c::accept))); } /** * @since 28.1 (but only since 33.4.0 in the Android flavor) */ public static SpliteratorTester<Long> ofLong(Supplier<Spliterator.OfLong> spliteratorSupplier) { return new SpliteratorTester<>( ImmutableSet.of(
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-testlib/src/com/google/common/testing/ClassSanityTester.java
List<ParameterNotInstantiableException> paramErrors = new ArrayList<>(); List<ParameterHasNoDistinctValueException> distinctValueErrors = new ArrayList<>(); List<InvocationTargetException> instantiationExceptions = new ArrayList<>(); List<FactoryMethodReturnsNullException> nullErrors = new ArrayList<>(); // Try factories with the greatest number of parameters.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
@DoNotMock public final class GraphBuilder<N> extends AbstractGraphBuilder<N> { /** Creates a new instance with the specified edge directionality. */ private GraphBuilder(boolean directed) { super(directed); } /** Returns a {@link GraphBuilder} for building directed graphs. */ public static GraphBuilder<Object> directed() { return new GraphBuilder<>(true); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
List<String> haveSameHashes2 = asList(str1, str2); List<CountsHashCodeAndEquals> result = new ArrayList<>( transform( cartesianProduct(nCopies(power, haveSameHashes2)), strs -> new CountsHashCodeAndEquals( String.join("", strs), () -> counter.hashCode++,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
.put("initialCapacity", new InitialCapacityParser()) .put("maximumSize", new MaximumSizeParser()) .put("maximumWeight", new MaximumWeightParser()) .put("concurrencyLevel", new ConcurrencyLevelParser()) .put("weakKeys", new KeyStrengthParser(Strength.WEAK)) .put("softValues", new ValueStrengthParser(Strength.SOFT))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
.put("initialCapacity", new InitialCapacityParser()) .put("maximumSize", new MaximumSizeParser()) .put("maximumWeight", new MaximumWeightParser()) .put("concurrencyLevel", new ConcurrencyLevelParser()) .put("weakKeys", new KeyStrengthParser(Strength.WEAK)) .put("softValues", new ValueStrengthParser(Strength.SOFT))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0)