Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for oldest (0.15 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java

    /**
     * Resolves conflicting artifacts by always selecting the oldest declaration. Oldest is defined as the
     * declaration whose version is less according to <code>ArtifactVersion.compareTo</code>.
     *
     * @see ArtifactVersion#compareTo
     * @since 3.0
     */
    @Named("oldest")
    @Singleton
    @Deprecated
    public class OldestConflictResolver implements ConflictResolver {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

    class OldestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public OldestConflictResolverTest() throws Exception {
            super("oldest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

        int[] entries = requireEntries();
    
        // Loop over current hashtable
        for (int oldTableIndex = 0; oldTableIndex <= oldMask; oldTableIndex++) {
          int oldNext = CompactHashing.tableGet(oldTable, oldTableIndex);
          while (oldNext != UNSET) {
            int entryIndex = oldNext - 1;
            int oldEntry = entries[entryIndex];
    
            // Rebuild hash using entry hashPrefix and tableIndex ("hashSuffix")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/StandardSystemProperty.java

       * <ul>
       *   <li>{@link #JAVA_EXT_DIRS} was deprecated in Java 8 and removed in Java 9. We have not
       *       confirmed whether it is available under older versions.
       *   <li>{@link #JAVA_COMPILER}, while still listed as required as of Java 15, is typically not
       *       available even under older version.
       *   <li>Any property may be cleared through APIs like {@link System#clearProperty}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 17:03:50 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

         */
        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
            List<T> newList = null;
            for (int i = 0; i < list.size(); i++) {
                T oldT = list.get(i);
                T newT = modifer.apply(oldT);
                if (newT != oldT) {
                    if (newList == null) {
                        newList = new ArrayList<>(list);
                    }
                    newList.set(i, newT);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Bytes.java

      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code Arrays.copyOfRange(array,
       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
       * @param array the array to search for the sequence {@code target}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions:
        // http://b.android.com/72073 http://r.android.com/98929
        Iterators.addAll(copy, collection.iterator());
    
        try {
          collection.add(sampleElement);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code Arrays.copyOfRange(array,
       * i, i + target.length)} contains exactly the same elements as {@code target}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * defined precedence onto each other to achieve proper precedence. Precedence is defined as:
         * <ul>
         *     <li>System properties (lowest precedence)</li>
         *     <li>Project properties (optional)</li>
         *     <li>User properties (highest precedence)</li>
         * </ul>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top