Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for GET (0.16 sec)

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

         * either it got collected, or {@link #clear} was called, or it wasn't set in the first place).
         */
        @CheckForNull
        V get();
    
        /** Returns the entry which contains this {@link WeakValueReference}. */
        E getEntry();
    
        /** Unsets the referenced value. Subsequent calls to {@link #get} will return {@code null}. */
        void clear();
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * {@code function} is invoked on each call to {@link Future#get() get()} on the returned future.
       *
       * <p>The returned {@code Future} reflects the input's cancellation state directly, and any
       * attempt to cancel the returned Future is likewise passed through to the input Future.
       *
       * <p>Note that calls to {@linkplain Future#get(long, TimeUnit) timed get} only apply the timeout
    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)
  3. android/guava/src/com/google/common/collect/Sets.java

       * </ul>
       *
       * <p>The result is guaranteed to be in the "traditional", lexicographical order for Cartesian
       * products that you would get from nesting for loops:
       *
       * <pre>{@code
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }</pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       * toString} methods for the multimap and its returned views. The multimap's {@code get}, {@code
       * removeAll}, and {@code replaceValues} methods return {@code RandomAccess} lists if the factory
       * does. However, the multimap's {@code get} method returns instances of a different class than
       * does {@code factory.get()}.
       *
       * <p>The multimap is serializable if {@code map}, {@code factory}, the lists generated by {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = list.iterator();
        assertEquals("b", get(iterator, 1));
        assertFalse(iterator.hasNext());
      }
    
      public void testGet_atSize() {
        List<String> list = newArrayList();
        list.add("a");
        list.add("b");
        Iterator<String> iterator = list.iterator();
        try {
          get(iterator, 2);
          fail();
        } catch (IndexOutOfBoundsException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(2, params.size());
        assertEquals(TypeToken.of(int.class), params.get(0).getType());
        assertEquals(TypeToken.of(String.class), params.get(1).getType());
      }
    
      public void testMethod_equals() throws NoSuchMethodException {
        Method getMethod = List.class.getMethod("get", int.class);
        Method setMethod = List.class.getMethod("set", int.class, Object.class);
        new EqualsTester()
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/AsyncLoadingCache.html#get(K)">{@code
     * AsyncLoadingCache.get}</a> returns a {@code CompletableFuture}, and implementations of <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeToken.java

                public int compare(K left, K right) {
                  // requireNonNull is safe because we are passing keys in the map.
                  return valueComparator.compare(
                      requireNonNull(map.get(left)), requireNonNull(map.get(right)));
                }
              };
          return keyOrdering.immutableSortedCopy(map.keySet());
        }
    
        abstract Class<?> getRawType(K type);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

            // If only we could actually call BitSet.trimToSize() ourselves...
          }
          this.table = table;
        }
    
        @Override
        public boolean matches(char c) {
          return table.get(c);
        }
    
        @Override
        void setBits(BitSet bitSet) {
          bitSet.or(table);
        }
      }
    
      // Static constant implementation classes
    
      /** Implementation of {@link #any()}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        waitUntilClosed(closingFuture);
        assertStillOpen(closeable2);
        assertClosed(closeable1);
        assertThrows(IllegalStateException.class, () -> capturedPeeker.get().getDone(input1));
      }
    
      public void testWhenAllComplete_call_cancelledPipeline() throws Exception {
        ClosingFuture<TestCloseable> closingFuture =
            ClosingFuture.whenAllComplete(
    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)
Back to top