Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,875 for isobject (0.05 sec)

  1. NullCacheTest.java

    testGet_expireAfterWrite() { L62: Object computed = new Object(); L63: LoadingCache<Object, Object> cache = L64: CacheBuilder.newBuilder() L65: .expireAfterWrite(0, SECONDS) L66: .removalListener(listener) L67: .build(constantLoader(computed)); L68: L69: Object key = new Object(); L70: assertSame(computed, cache.getUnchecked(key)); L71: RemovalNotification<Object, Object> notification = listener.remove(); L72: assertSame(key, notification.getKey()); L73: ...
    github.com/google/guava/android/guava-tests/tes...
    Wed Sep 06 17:04:31 UTC 2023
      4.4K bytes
  2. NullCacheTest.java

    testGet_expireAfterWrite() { L62: Object computed = new Object(); L63: LoadingCache<Object, Object> cache = L64: CacheBuilder.newBuilder() L65: .expireAfterWrite(0, SECONDS) L66: .removalListener(listener) L67: .build(constantLoader(computed)); L68: L69: Object key = new Object(); L70: assertSame(computed, cache.getUnchecked(key)); L71: RemovalNotification<Object, Object> notification = listener.remove(); L72: assertSame(key, notification.getKey()); L73: ...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Sep 06 17:04:31 UTC 2023
      4.4K bytes
  3. AtomicsTest.java

    L30:public class AtomicsTest extends TestCase { L31: L32: private static final Object OBJECT = new Object(); L33: L34: public void testNewReference() throws Exception { L35: assertEquals(null, Atomics.newReference().get()); L36: } L37: L38: public void testNewReference_withInitialValue() throws Exception { L39: assertEquals(null, Atomics.newReference(null).get()); L40: assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); L41: } L42: L43: public void testNewReferenceArray_withLength()...
    github.com/google/guava/android/guava-tests/tes...
    Wed Sep 06 17:04:31 UTC 2023
      2.5K bytes
  4. TesterRequirements.java

    L54: public final Set<Feature<?>> getAbsentFeatures() { L55: return absentFeatures; L56: } L57: L58: @Override L59: public boolean equals(@Nullable Object object) { L60: if (object == this) { L61: return true; L62: } L63: if (object instanceof TesterRequirements) { L64: TesterRequirements that = (TesterRequirements) object; L65: return this.presentFeatures.equals(that.presentFeatures) L66: && this.absentFeatures.equals(that.absentFeatures); L67: } L68: return...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      2.5K bytes
  5. UnmodifiableCollectionTests.java

    assertMultimapRemainsUnmodified(multimap, originalEntries); L414: } L415: L416: private static <E extends @Nullable Object> void assertCollectionsAreEquivalent( L417: Collection<E> expected, Collection<E> actual) { L418: assertIteratorsInOrder(expected.iterator(), actual.iterator()); L419: } L420: L421: private static <K extends @Nullable Object, V extends @Nullable Object> L422: void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) { L423: asse...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      14.8K bytes
  6. CrawlerLogHelper.java

    ; L35: L36: @Override L37: public void log(final LogType key, final Object... objs) { L38: if (!ComponentUtil.available()) { L39: if (logger.isDebugEnabled()) { L40: logger.debug("container was destroyed."); L41: } L42: return; L43: } L44: super.log(key, objs); L45: } L46: L47: @Override L48: protected void processStartCrawling(final Object... objs) { L49: super.processStartCrawling(objs); L50: if (objs.length...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      7.3K bytes
  7. TestingCacheLoaders.java

    return new IdentityLoader<T>(); L94: } L95: L96: /** L97: * Returns a {@code new Object()} for every request, and increments a counter for every request. L98: * The count is accessible via {@link #getCount}. L99: */ L100: static class CountingLoader extends CacheLoader<Object, Object> { L101: private final AtomicInteger count = new AtomicInteger(); L102: L103: @Override L104: public Object load(Object from) { L105: count.incrementAndGet(); L106: return new Object(); L107:...
    github.com/google/guava/android/guava-tests/tes...
    Fri Oct 18 19:07:49 UTC 2024
      4.9K bytes
  8. AbstractTester.java

    suiteName); L90: } L91: L92: /** L93: * Asserts that the given object is non-null, with a better failure message than {@link L94: * TestCase#assertNull(String, Object)}. L95: * L96: * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does L97: * not include the value of the object. L98: * L99: * @since NEXT L100: */ L101: public static void assertNull(String message, Object object) { L102: assertEquals(message, null, object); L103: } L104:}...
    github.com/google/guava/android/guava-testlib/s...
    Mon Oct 28 21:41:47 UTC 2024
      3.4K bytes
  9. AbstractTester.java

    suiteName); L90: } L91: L92: /** L93: * Asserts that the given object is non-null, with a better failure message than {@link L94: * TestCase#assertNull(String, Object)}. L95: * L96: * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does L97: * not include the value of the object. L98: * L99: * @since NEXT L100: */ L101: public static void assertNull(String message, Object object) { L102: assertEquals(message, null, object); L103: } L104:}...
    github.com/google/guava/guava-testlib/src/com/g...
    Mon Oct 28 21:41:47 UTC 2024
      3.4K bytes
  10. RoleTests.java

    L61: } L62: L63: @Override L64: protected Map<String, Object> createTestParam(int id) { L65: final Map<String, Object> requestBody = new HashMap<>(); L66: final String keyProp = NAME_PREFIX + id; L67: requestBody.put(KEY_PROPERTY, keyProp); L68: return requestBody; L69: } L70: L71: private static final String NEW_SUFFIX = "_new"; L72: L73: @Override L74: protected Map<String, Object> getUpdateMap() { L75: final Map<String, Object> requestBody...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.7K bytes
Back to top