Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 478 for some (0.14 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. CONTRIBUTING.md

    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Some examples of types of pull requests that are immediately helpful:
    
      - Fixing a bug without changing a public API.
      - Fixing or improving documentation.
      - Improvements to Maven configuration.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      // TODO(b/192446998): Remove this override after tools understand nullness better.
      @CheckForNull
      public V put(K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/collect/ForwardingSortedSet.java

     * natural ordering of the elements, if there is no comparator) to test element equality. As a
     * result, if the comparator is not consistent with equals, some of the standard implementations may
     * violate the {@code Set} contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. 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)
Back to top