Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,178 for contain (0.15 sec)

  1. android/guava/src/com/google/common/cache/LoadingCache.java

      V getUnchecked(K key);
    
      /**
       * Returns a map of the values associated with {@code keys}, creating or retrieving those values
       * if necessary. The returned map contains entries that were already cached, combined with newly
       * loaded entries; it will never contain null keys or values.
       *
       * <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base64(), "Zg==", "f"); // proper padding length
        testDecodes(base64(), "Zg===", "f");
        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
      ALLOWS_NULL_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES),
    
      /**
       * Indicates that a collection disallows certain elements (other than {@code null}, whose validity
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail();
        } catch (AssertionFailedError e) {
          assertTrue(e.getMessage().contains("toString representation"));
        }
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

      V get(K key, Callable<? extends V> loader) throws ExecutionException;
    
      /**
       * Returns a map of the values associated with {@code keys} in this cache. The returned map will
       * only contain entries which are already present in the cache.
       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

     * @param <S> the source or sink type
     * @param <T> the data type (byte[] or String)
     * @author Colin Decker
     */
    public interface SourceSinkFactory<S, T> {
    
      /**
       * Returns the data to expect the source or sink to contain given the data that was used to create
       * the source or written to the sink. Typically, this will just return the input directly, but in
       * some cases it may alter the input. For example, if the factory returns a sliced view of a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashMultiset.java

       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
        HashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashCodeTest.java

      // expectedHashCodes must contain at least one hash code with 4 bytes
      public void testFromInt() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          if (expected.bytes.length == 4) {
            HashCode fromInt = HashCode.fromInt(expected.asInt);
            assertExpectedHashCode(expected, fromInt);
          }
        }
      }
    
      // expectedHashCodes must contain at least one hash code with 8 bytes
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
                + "duplicate element in the list",
            firstIndex == getList().indexOf(duplicate));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/UrlEscapers.java

       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
       * considered by the specification to be separators between "path segments." This implies that, if
       * you wish for your path to contain slashes, you must escape each segment separately and then
       * join them.
       *
       * <p>When escaping a String, the following rules apply:
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top