Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sync (0.12 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        BiMap<String, Integer> bimap = HashBiMap.create();
        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
      private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        BiMap<String, Integer> bimap = HashBiMap.create();
        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
      private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
       * bimap and its inverse in sync during serialization, the way AbstractBiMap does.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       * the warnings the {@link MoreExecutors#directExecutor} documentation.
       *
       * <p>The returned {@code Future} attempts to keep its cancellation state in sync with that of the
       * input future and that of the future returned by the chain function. That is, if the returned
       * {@code Future} is cancelled, it will attempt to cancel the other two, and if either of the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertStillOpen(closeable1);
        assertClosed(closeable2, closeable3);
      }
    
      // We don't need to test the happy case for SuccessfulCombiner.call(Async) because it's the same
      // as Combiner.
    
      public void testWhenAllSucceed_call_failedInput() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.whenAllSucceed(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertStillOpen(closeable1);
        assertClosed(closeable2, closeable3);
      }
    
      // We don't need to test the happy case for SuccessfulCombiner.call(Async) because it's the same
      // as Combiner.
    
      public void testWhenAllSucceed_call_failedInput() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.whenAllSucceed(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    soh,topsgolb,vog,yalphk,?o??o&a?btuf?l!.gmo,?o&c!.&ed,rotnemele,??hcs??rit?u??p!.&a&cin&diws?gel??d&g,ortso?urawon??i&dem?mraw?nydg,?k&elo&guld?rtso??slopolam?tsu?ytsyrut??l&ip?o&kzs?w&-awolats?oksnok????n&erapohs,img?zcel,?rog&-ai&bab?nelej??j?z??syn?tsaim?w&a&l&eib?i?o??zsraw??o&namil?tainop,??z&eiwolaib?mol???c&e&iw&alselob?o&nsos?rtso???le&im?zrogz???orw,p??d&em,ia?ragrats?uolc&inu,sds,??e&c&i&lrog?w&ilg,o&hc&arats?orp??klop?tak????yzreibok??i&csjuoniws?ksromop?saldop??l&ahdop?opo??napokaz,t...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
Back to top