- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 588 for PUBLIC (0.14 sec)
-
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private final Arithmetic arithmetic; public ForwardingArithmetic(Arithmetic arithmetic) { this.arithmetic = arithmetic; } @Override public int add(int a, int b) { return arithmetic.add(a, b); } @Override public int minus(int a, int b) { return arithmetic.minus(a, b); } @Override public String toString() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
doThrow(s); } public void twoNullableArgsThrowsSecondArg(@Nullable String s, @Nullable Integer i) { doThrow(i); } public static void staticOneArg(String s) { checkNotNull(s); } public static void staticOneNullableArg(@Nullable String s) {}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
return backingCollection; } @Override public boolean addAll(Collection<? extends T> collection) { return standardAddAll(collection); } @Override public boolean add(T element) { return standardAdd(element); } @Override public void clear() { standardClear(); } @Override public int count(Object element) { return standardCount(element);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testOf() { assertEquals("training", Optional.of("training").get()); } public void testOf_null() { try { Optional.of(null); fail(); } catch (NullPointerException expected) { } } public void testFromNullable() { Optional<String> optionalName = Optional.fromNullable("bob"); assertEquals("bob", optionalName.get()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
public static final Integer zero = 0; public static final Integer one = 1; public static final Integer two = 2; public static final Integer three = 3; public static final Integer four = 4; public static final Integer five = 5; public static final Integer six = 6; public static final Integer seven = 7; public static final Integer eight = 8; public static final Integer nine = 9;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
import junit.framework.TestCase; @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeTokenSubtypeTest extends TestCase { public void testOwnerTypeSubtypes() throws Exception { new OwnerTypeSubtypingTests().testAllDeclarations(); } public void testWildcardSubtypes() throws Exception { new WildcardSubtypingTests().testAllDeclarations(); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
public long getAccessTimestamp() { return accessTimestamp; } public long getWriteTimestamp() { return writeTimestamp; } public boolean equals(Object o) { return value.equals(o); } public int hashCode() { return value.hashCode(); } } /** * LocalManualCache is a wrapper around LocalCache for a cache without loading. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
return suite; } public void testCreation_noArgs() { Multiset<String> multiset = ImmutableSortedMultiset.of(); assertTrue(multiset.isEmpty()); } public void testCreation_oneElement() { Multiset<String> multiset = ImmutableSortedMultiset.of("a"); assertEquals(HashMultiset.create(asList("a")), multiset); } public void testCreation_twoElements() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
return suite; } public void testCreation_noArgs() { Multiset<String> multiset = ImmutableSortedMultiset.of(); assertTrue(multiset.isEmpty()); } public void testCreation_oneElement() { Multiset<String> multiset = ImmutableSortedMultiset.of("a"); assertEquals(HashMultiset.create(asList("a")), multiset); } public void testCreation_twoElements() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 19.4K bytes - Viewed (0)