Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 275 of 275 for isEqualTo (0.09 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

              };
          LocalCache<String, String> cache = makeLocalCache(builder, loader);
    
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
    
          ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

              };
          LocalCache<String, String> cache = makeLocalCache(builder, loader);
    
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
    
          ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> cache = ((LocalCache.LocalManualCache<?, ?>) builder.build()).localCache;
        assertThat(cache.segments.length * cache.segments[0].table.length()).isEqualTo(512);
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumWeight_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        ParameterizedType parameterizedType =
            (ParameterizedType) TypeToken.toGenericType(GenericClass.class).getType();
        assertThat(parameterizedType.getOwnerType()).isEqualTo(javacReturnType.getOwnerType());
      }
    
      public static <T> GenericClass<T> getStaticAnonymousClass(final T value) {
        return new GenericClass<T>() {
          @SuppressWarnings("unused")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Splitter.java

       * MapSplitter mapSplitter = outerSplitter.withKeyValueSeparator(Splitter.on("->"));
       * Map<String, String> result = mapSplitter.split(toSplit);
       * assertThat(result).isEqualTo(ImmutableMap.of("x ", " y", "z", " a"));
       * }</pre>
       *
       * @since 10.0
       */
      public MapSplitter withKeyValueSeparator(Splitter keyValueSplitter) {
        return new MapSplitter(this, keyValueSplitter);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top