Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,875 for isobject (0.06 sec)

  1. MultimapEqualsTester.java

    // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. L40:@SuppressWarnings("JUnit4ClassUsedInJUnit3") L41:@ElementTypesAreNonnullByDefault L42:public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object> L43: extends AbstractMultimapTester<K, V, Multimap<K, V>> { L44: public void testEqualsTrue() { L45: new EqualsTester() L46: .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray())) L47:...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      3.5K bytes
  2. ClassSanityTester.java

    Lists.newArrayListWithCapacity(params.size()); L571: List<@Nullable Object> args = Lists.newArrayListWithCapacity(params.size()); L572: for (Parameter param : params) { L573: FreshValueGenerator generator = newFreshValueGenerator(); L574: argGenerators.add(generator); L575: args.add(generateDummyArg(param, generator)); L576: } L577: Object instance = createInstance(factory, args); L578: List<Object> equalArgs = generateEqualFactoryArguments(factory, params, args); L579:...
    github.com/google/guava/android/guava-testlib/s...
    Tue Jul 23 14:18:12 UTC 2024
      32.7K bytes
  3. Group.java

    L54: return attributes; L55: } L56: L57: public void setAttributes(final Map<String, String> attributes) { L58: this.attributes = attributes; L59: } L60: L61: @Override L62: public Map<String, Object> toSource() { L63: final Map<String, Object> sourceMap = new HashMap<>(); L64: if (name != null) { L65: sourceMap.put("name", name); L66: } L67: if (attributes != null) { L68: sourceMap.putAll(attributes); L69: } L70:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      1.8K bytes
  4. BouncyCastleSocketAdapter.kt

    bcSocket.parameters L51: L52: // Enable ALPN. L53: sslParameters.applicationProtocols = Platform.alpnProtocolNames(protocols).toTypedArray() L54: L55: bcSocket.parameters = sslParameters L56: } L57: } L58: L59: companion object { L60: val factory = L61: object : DeferredSocketAdapter.Factory { L62: override fun matchesSocket(sslSocket: SSLSocket): Boolean { L63: return BouncyCastlePlatform.isSupported && sslSocket is BCSSLSocket L64: } L65: L66: override...
    github.com/square/okhttp/okhttp/src/main/kotlin...
    Mon Jan 08 01:13:22 UTC 2024
      2.1K bytes
  5. ConflictingRequirementsException.java

    on extends Exception { L29: private Set<Feature<?>> conflicts; L30: private Object source; L31: L32: public ConflictingRequirementsException( L33: String message, Set<Feature<?>> conflicts, Object source) { L34: super(message); L35: this.conflicts = conflicts; L36: this.source = source; L37: } L38: L39: public Set<Feature<?>> getConflicts() { L40: return conflicts; L41: } L42: L43: public Object getSource() { L44: return source; L45: } L46: L47: @Override L48: public...
    github.com/google/guava/android/guava-testlib/s...
    Mon Dec 04 17:37:03 UTC 2017
      1.4K bytes
  6. PopulatedCachesTest.java

    checkValidState(cache); L78: } L79: } L80: L81: public void testPut_populated() { L82: for (LoadingCache<Object, Object> cache : caches()) { L83: // don't let the entries get GCed L84: List<Entry<Object, Object>> warmed = warmUp(cache); L85: for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { L86: Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); L87: Object newValue = new Object(); L88: assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue)); L89:...
    github.com/google/guava/android/guava-tests/tes...
    Tue Jul 02 18:21:29 UTC 2024
      15K bytes
  7. AbstractLoadingCacheTest.java

    cache.getUnchecked(new Object())); L63: } L64: L65: public void testGetUnchecked_unchecked() { L66: final RuntimeException cause = new RuntimeException(); L67: final AtomicReference<Object> valueRef = new AtomicReference<>(); L68: LoadingCache<Object, Object> cache = L69: new AbstractLoadingCache<Object, Object>() { L70: @Override L71: public Object get(Object key) throws ExecutionException { L72: Object v = valueRef.get(); L73: if (v == null)...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Sep 06 17:04:31 UTC 2023
      5K bytes
  8. SubscriberRegistryTest.java

    Iterators.size(registry.getSubscribers(""))); L86: assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); L87: assertEquals(1, Iterators.size(registry.getSubscribers(1))); L88: L89: registry.register(new IntegerSubscriber()); L90: assertEquals(3, Iterators.size(registry.getSubscribers(""))); L91: assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); L92: assertEquals(2, Iterators.size(registry.getSubscribers(1))); L93: } L94: L95: public void te...
    github.com/google/guava/android/guava-tests/tes...
    Wed Sep 06 17:04:31 UTC 2023
      5.7K bytes
  9. EmptyCachesTest.java

    void testEntrySet_nullToArray() { L236: for (LoadingCache<Object, Object> cache : caches()) { L237: Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); L238: assertThrows( L239: NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null)); L240: checkEmpty(cache); L241: } L242: } L243: L244: public void testEntrySet_addNotSupported() { L245: for (LoadingCache<Object, Object> cache : caches()) { L246: assertThrows( L247: ...
    github.com/google/guava/android/guava-tests/tes...
    Wed Sep 06 17:04:31 UTC 2023
      11.5K bytes
  10. EmptyCachesTest.java

    void testEntrySet_nullToArray() { L236: for (LoadingCache<Object, Object> cache : caches()) { L237: Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); L238: assertThrows( L239: NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null)); L240: checkEmpty(cache); L241: } L242: } L243: L244: public void testEntrySet_addNotSupported() { L245: for (LoadingCache<Object, Object> cache : caches()) { L246: assertThrows( L247: ...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Sep 06 17:04:31 UTC 2023
      11.5K bytes
Back to top