Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for API (0.14 sec)

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

      }
    
      public void testPowerSetIteration_manual() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3);
        Set<Set<Integer>> powerSet = powerSet(elements);
        // The API doesn't promise this iteration order, but it's convenient here.
        Iterator<Set<Integer>> i = powerSet.iterator();
        assertEquals(ImmutableSet.of(), i.next());
        assertEquals(ImmutableSet.of(1), i.next());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
           * declaring a checkState method that accepts a possibly null template. So we'd need to update
           * that user first.
           */
          @CheckForNull String errorMessageTemplate,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <h2>Prefer <a href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a> over Guava's caching
     * API</h2>
     *
     * <p>The successor to Guava's caching API is <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a
     * nearly drop-in replacement. It requires Java 8+, and is not available for Android or GWT/J2CL,
    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)
  4. android/guava/src/com/google/common/base/CharMatcher.java

     * assigned characters, including important CJK characters and emoji.
     *
     * <p>Supplementary characters are <a
     * href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#supplementary">encoded
     * into a {@code String} using surrogate pairs</a>, and a {@code CharMatcher} treats these just as
    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)
  5. guava/src/com/google/common/base/CharMatcher.java

     * assigned characters, including important CJK characters and emoji.
     *
     * <p>Supplementary characters are <a
     * href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#supplementary">encoded
     * into a {@code String} using surrogate pairs</a>, and a {@code CharMatcher} treats these just as
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        public Container(T data) {}
      }
    
      public <T extends Container<String>> void testConstructor_parameterTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<Container> constructor = Container.class.getConstructor(Object.class);
        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.constructor(constructor);
    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. android/guava/src/com/google/common/util/concurrent/Futures.java

         *
         * On the other hand, the current signature is consistent with the similar allAsList method. And
         * eventually this method may go away entirely in favor of an API like
         * whenAllComplete().collectSuccesses(). That API would have a signature more like the current
         * one.
         */
        return new ListFuture<V>(ImmutableList.copyOf(futures), false);
      }
    
      /**
    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)
  8. guava/src/com/google/common/base/Preconditions.java

           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
           * declaring a checkState method that accepts a possibly null template. So we'd need to update
           * that user first.
           */
          @CheckForNull String errorMessageTemplate,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        public Container(T data) {}
      }
    
      public <T extends Container<String>> void testConstructor_parameterTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<Container> constructor = Container.class.getConstructor(Object.class);
        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.constructor(constructor);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top