Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for have (0.24 sec)

  1. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
          // waiter.
          // requireNonNull is safe because value is always set before TOMBSTONE.
          return getDoneValue(requireNonNull(value));
        }
        // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the
        // waiters list
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * number of elements and every element of {@code iterator1} is equal to the corresponding element
       * of {@code iterator2}.
       *
       * <p>Note that this will modify the supplied iterators, since they will have been advanced some
       * number of elements forward.
       */
      public static boolean elementsEqual(Iterator<?> iterator1, Iterator<?> iterator2) {
        while (iterator1.hasNext()) {
          if (!iterator2.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. 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)
  10. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 59.1K bytes
    - Viewed (0)
Back to top