Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for some (0.16 sec)

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

      }
    
      public void testNewHashSetFromCollection() {
        HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
        verifySetContents(set, SOME_COLLECTION);
      }
    
      public void testNewHashSetFromIterable() {
        HashSet<Integer> set = Sets.newHashSet(SOME_ITERABLE);
        verifySetContents(set, SOME_ITERABLE);
      }
    
      public void testNewHashSetWithExpectedSizeSmall() {
    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/collect/Comparators.java

      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testTransformHashCodeRandomAccess() {
        List<String> list = Lists.transform(SOME_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformHashCodeSequential() {
        List<String> list = Lists.transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

      static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets";
    
      /** Access to some fancy internal JVM internals. */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static final Object jla = getJLA();
    
      /**
       * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to
       * find it when available. When this is null, use the slow way.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

      static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets";
    
      /** Access to some fancy internal JVM internals. */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static final Object jla = getJLA();
    
      /**
       * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to
       * find it when available. When this is null, use the slow way.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

            getMultiset().contains(e0()));
        assertEquals(0, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_some_occurrences_present() {
        initThreeCopies();
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            3,
            getMultiset().remove(e0(), 2));
        assertTrue(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava/pom.xml

              </excludePackageNames>
              <!-- Ignore some tags that are found in Java 11 sources but not recognized... under -source 8, I think it was? I can no longer reproduce the failure. -->
              <tags>
                <tag>
                  <name>apiNote</name>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testTransformHashCodeRandomAccess() {
        List<String> list = Lists.transform(SOME_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformHashCodeSequential() {
        List<String> list = Lists.transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top