- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,875 for isobject (0.05 sec)
-
LocalLoadingCacheTest.java
CacheBuilder<Object, Object> builder = createCacheBuilder(); L226: LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); L227: assertEquals(EMPTY_STATS, cache.stats()); L228: L229: Object one = new Object(); L230: Object two = new Object(); L231: Object three = new Object(); L232: L233: ConcurrentMap<Object, Object> map = cache.asMap(); L234: assertNull(map.put(one, two)); L235: assertSame(two, map.get(one)); L236: map.putAll(ImmutableMap.of(two, three)); L237:...github.com/google/guava/android/guava-tests/tes...Fri Oct 18 19:07:49 UTC 2024 12.4K bytes -
LocalLoadingCacheTest.java
CacheBuilder<Object, Object> builder = createCacheBuilder(); L226: LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); L227: assertEquals(EMPTY_STATS, cache.stats()); L228: L229: Object one = new Object(); L230: Object two = new Object(); L231: Object three = new Object(); L232: L233: ConcurrentMap<Object, Object> map = cache.asMap(); L234: assertNull(map.put(one, two)); L235: assertSame(two, map.get(one)); L236: map.putAll(ImmutableMap.of(two, three)); L237:...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 19:07:49 UTC 2024 12.4K bytes -
MutableClassToInstanceMap.java
Entry<Class<? extends @NonNull B>, B> from) { L122: return checkedEntry(from); L123: } L124: }; L125: } L126: L127: @Override L128: public Object[] toArray() { L129: /* L130: * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it L131: * can be used with collections that may contain null. This collection is a collection of L132: * non-null Entry objects (Entry objects that might contain...github.com/google/guava/android/guava/src/com/g...Mon Apr 01 16:15:01 UTC 2024 6.9K bytes -
ForwardingSortedMultisetTest.java
return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); L94: } L95: L96: @Override L97: public int count(@Nullable Object element) { L98: return standardCount(element); L99: } L100: L101: @Override L102: public boolean equals(@Nullable Object object) { L103: return standardEquals(object); L104: } L105: L106: @Override L107: public int hashCode() { L108: return standardHashCode(); L109: } L110: L111: @Override L112: public...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:05:46 UTC 2024 6.4K bytes -
ForwardingMapEntry.java
@Override L82: public boolean equals(@CheckForNull Object object) { L83: return delegate().equals(object); L84: } L85: L86: @Override L87: public int hashCode() { L88: return delegate().hashCode(); L89: } L90: L91: /** L92: * A sensible definition of {@link #equals(Object)} in terms of {@link #getKey()} and {@link L93: * #getValue()}. If you override either of these methods, you may wish to override {@link L94: * #equals(Object)} to forward to this implementation. L95: * L96: ...github.com/google/guava/guava/src/com/google/co...Tue Mar 19 19:28:11 UTC 2024 4.4K bytes -
ConscryptSocketAdapter.kt
s(sslSocket, true) L48: L49: // Enable ALPN. L50: val names = Platform.alpnProtocolNames(protocols) L51: Conscrypt.setApplicationProtocols(sslSocket, names.toTypedArray()) L52: } L53: } L54: L55: companion object { L56: val factory = L57: object : DeferredSocketAdapter.Factory { L58: override fun matchesSocket(sslSocket: SSLSocket): Boolean { L59: return ConscryptPlatform.isSupported && Conscrypt.isConscrypt(sslSocket) L60: } L61: L62: override...github.com/square/okhttp/okhttp/src/main/kotlin...Mon Jan 08 01:13:22 UTC 2024 2.2K bytes -
BsCrawlingInfoParamCQ.java
g crawlingInfoId) { L334: setCrawlingInfoId_GreaterThan(crawlingInfoId, null); L335: } L336: L337: public void setCrawlingInfoId_GreaterThan(String crawlingInfoId, ConditionOptionCall<RangeQueryBuilder> opLambda) { L338: final Object _value = crawlingInfoId; L339: RangeQueryBuilder builder = regRangeQ("crawlingInfoId", ConditionKey.CK_GREATER_THAN, _value); L340: if (opLambda != null) { L341: opLambda.callback(builder); L342: } L343: } L344:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 36K bytes -
SubscriberTest.java
Tests for {@link Subscriber}. L30: * L31: * @author Cliff Biffle L32: * @author Colin Decker L33: */ L34:public class SubscriberTest extends TestCase { L35: L36: private static final Object FIXTURE_ARGUMENT = new Object(); L37: L38: private EventBus bus; L39: private boolean methodCalled; L40: private @Nullable Object methodArgument; L41: L42: @Override L43: protected void setUp() throws Exception { L44: bus = new EventBus(); L45: methodCalled = false; L46: methodArgument = null; L47:...github.com/google/guava/android/guava-tests/tes...Wed Sep 06 17:04:31 UTC 2023 4.8K bytes -
ForwardingSetTest.java
L72: standardClear(); L73: } L74: L75: @Override L76: public boolean contains(Object object) { L77: return standardContains(object); L78: } L79: L80: @Override L81: public boolean containsAll(Collection<?> collection) { L82: return standardContainsAll(collection); L83: } L84: L85: @Override L86: public boolean remove(Object object) { L87: return standardRemove(object); L88: } L89: L90: @Override L91: public boolean removeAll(Collection<?> collection)...github.com/google/guava/android/guava-tests/tes...Mon Apr 17 15:49:06 UTC 2023 5K bytes -
SetMultimapEqualsTester.java
com.google.common.collect.SetMultimap; L22:import com.google.common.collect.testing.features.CollectionSize; L23:import com.google.common.testing.EqualsTester; L24:import org.junit.Ignore; L25: L26:/** L27: * Testers for {@link SetMultimap#equals(Object)}. L28: * L29: * @author Louis Wasserman L30: */ L31:@GwtCompatible L32:@Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. L33:@SuppressWarnings("JUnit4ClassUsedInJUnit3") L34:public class SetMultimapEqualsTester<K,...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 1.8K bytes