Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Save (0.13 sec)

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

              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
                  (e1, e2) -> {
                    // requireNonNull is safe because the first `size` elements have been filled in.
                    requireNonNull(e1);
                    requireNonNull(e2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
                  (e1, e2) -> {
                    // requireNonNull is safe because the first `size` elements have been filled in.
                    requireNonNull(e1);
                    requireNonNull(e2);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            // I would like to be able to look up the Mojo object using a key but
            // we have a limitation in modello that will be remedied shortly. So
            // for now I have to iterate through and see what we have.
            // ----------------------------------------------------------------------
    
            if (getReportPlugins() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

        /**
         * Returns an immutable copy of the current contents of this set view. Does not support null
         * elements.
         *
         * <p><b>Warning:</b> this may have unexpected results if a backing set of this view uses a
         * nonstandard notion of equivalence, for example if it is a {@link TreeSet} using a comparator
         * that is inconsistent with {@link Object#equals(Object)}.
         */
    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)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          return new MapMakerInternalMap<>(builder, WeakKeyDummyValueEntry.Helper.<K>instance());
        }
        if (builder.getValueStrength() == Strength.WEAK) {
          throw new IllegalArgumentException("Map cannot have both weak and dummy values");
        }
        throw new AssertionError();
      }
    
      enum Strength {
        STRONG {
          @Override
          Equivalence<Object> defaultEquivalence() {
    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)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
    
            //
            // TODO jvz Why isn't all this checking the job of the duty of the workspace resolver, we know that we
            // have a model that is suitable, yet more checks are done here and the one for the version is problematic
            // before because with parents as ranges it will never work in this scenario.
            //
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

      /**
       * This is the actual implementation of {@link #precomputed}, but we bounce calls through a method
       * on {@link Platform} so that we can have different behavior in GWT.
       *
       * <p>This implementation tries to be smart in a number of ways. It recognizes cases where the
       * negation is cheaper to precompute than the matcher itself; it tries to build small hash tables
    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)
  8. android/guava/src/com/google/common/base/Preconditions.java

     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
     * creation. However, the methods of this class have a large number of overloads that prevent such
     * allocations in many common cases.
     *
    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)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // computation is in progress; asMap shouldn't have changed
        assertEquals(1, map.size());
        assertFalse(map.containsKey(getKey));
        assertSame(refreshKey, map.get(refreshKey));
    
        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    
        // asMap view should have been updated
        assertEquals(2, cache.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

       */
      private static <E> void verifyLinkedHashSetContents(
          LinkedHashSet<E> set, Collection<E> contents) {
        assertEquals(
            "LinkedHashSet should have preserved order for iteration",
            new ArrayList<E>(set),
            new ArrayList<E>(contents));
        verifySetContents(set, contents);
      }
    
      /**
    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)
Back to top