Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for existent (0.14 sec)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            if (existingCounter == null) {
              return 0;
            }
            // existingCounter != null: fall through to operate against the existing AtomicInteger
          }
    
          while (true) {
            int oldValue = existingCounter.get();
            if (oldValue != 0) {
              try {
                int newValue = IntMath.checkedAdd(oldValue, occurrences);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

       * ImmutableEnumSet/ImmutableSortedSet, regardless of implementation type. It
       * captures their "logical contents" and they are reconstructed using public
       * static factories. This is necessary to ensure that the existence of a
       * particular implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm implements Serializable {
        final Object[] elements;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
     * existing one, typically using methods like {@link Futures#transform(ListenableFuture,
     * com.google.common.base.Function, java.util.concurrent.Executor) Futures.transform} and {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2);
        assertTrue(bimap2.isEmpty());
      }
    
      public void testEnumHashBiMapConstructor() {
        /* Test that it copies existing entries. */
        EnumHashBiMap<Currency, String> bimap1 = EnumHashBiMap.create(Currency.class);
        bimap1.put(Currency.DOLLAR, "dollar");
        EnumHashBiMap<Currency, String> bimap2 = EnumHashBiMap.create(bimap1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
       * @see #resetContainer(Object) resetContainer(C)
       * @return the new container instance.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>If {@code range} {@linkplain Range#isEmpty() is empty}, then this is a no-op.
       */
      void put(Range<K> range, V value);
    
      /**
       * Maps a range to a specified value, coalescing this range with any existing ranges with the same
       * value that are {@linkplain Range#isConnected connected} to this range.
       *
       * <p>The behavior of {@link #get(Comparable) get(k)} after calling this method is identical to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        bimap = EnumBiMap.create(emptyBimap);
        assertTrue(bimap.isEmpty());
      }
    
      public void testEnumBiMapConstructor() {
        /* Test that it copies existing entries. */
        EnumBiMap<Currency, Country> bimap1 = EnumBiMap.create(Currency.class, Country.class);
        bimap1.put(Currency.DOLLAR, Country.CANADA);
        EnumBiMap<Currency, Country> bimap2 = EnumBiMap.create(bimap1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        bimap = EnumBiMap.create(emptyBimap);
        assertTrue(bimap.isEmpty());
      }
    
      public void testEnumBiMapConstructor() {
        /* Test that it copies existing entries. */
        EnumBiMap<Currency, Country> bimap1 = EnumBiMap.create(Currency.class, Country.class);
        bimap1.put(Currency.DOLLAR, Country.CANADA);
        EnumBiMap<Currency, Country> bimap2 = EnumBiMap.create(bimap1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * together. Any creation method that would customarily respect insertion order (such as {@link
     * #copyOf(Multimap)}) instead preserves key-grouped order by inserting entries for an existing key
     * immediately after the last entry having that key.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

     * together. Any creation method that would customarily respect insertion order (such as {@link
     * #copyOf(Multimap)}) instead preserves key-grouped order by inserting entries for an existing key
     * immediately after the last entry having that key.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
Back to top