Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 313 for jdk9 (0.03 seconds)

  1. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
     * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
     * UnsupportedOperationException} in the situations they are intended for.
     *
     * <h3>Non-preconditions</h3>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *     ImmutableSortedSet#copyOf(Comparable[])}.</b>
       */
      @DoNotCall("Pass parameters of type Comparable")
      @Deprecated
      // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff.
      public static <Z> ImmutableSortedSet<Z> copyOf(Z[] elements) {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        public boolean removeAll(Collection<?> c) {
          if (c.isEmpty()) {
            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
    
          // Guava issue 1013: AbstractSet and most JDK set implementations are
          // susceptible to quadratic removeAll performance on lists;
          // use a slightly smarter implementation here
          boolean changed = Sets.removeAllImpl((Set<V>) delegate, c);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
        if (expectedSize < Ints.MAX_POWER_OF_TWO) {
          // This seems to be consistent across JDKs. The capacity argument to HashMap and LinkedHashMap
          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
        }
        if (expectedSize < Ints.MAX_POWER_OF_TWO) {
          // This seems to be consistent across JDKs. The capacity argument to HashMap and LinkedHashMap
          // ends up being used to compute a "threshold" size, beyond which the internal table
          // will be resized. That threshold is ceilingPowerOfTwo(capacity*loadFactor), where
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    nt.performFor(pa.getValue(), "value", pa::setValue);
                });
                a.map(Activation::getJdk).ifPresent(ja -> new Interpolation(activation, interpolator::interpolate)
                        .performFor(ja, "jdk", activation::setJdk));
            }
            return interpolatedActivations;
        }
    
        @Override
        public ModelBuildingResult build(ModelBuildingRequest request, ModelBuildingResult result)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

                "maven.resolver.dependencyManagerTransitivity";
    
        /**
         * Resolver transport to use.
         * Can be <code>default</code>, <code>wagon</code>, <code>apache</code>, <code>jdk</code> or <code>auto</code>.
         *
         * @since 4.0.0
         */
        @Config(defaultValue = "default")
        public static final String MAVEN_RESOLVER_TRANSPORT = "maven.resolver.transport";
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

    import org.eclipse.aether.spi.connector.transport.TransporterProvider;
    import org.eclipse.aether.transport.file.FileTransporterFactory;
    import org.eclipse.aether.transport.jdk.JdkTransporterFactory;
    
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.ARTIFACT_ID;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.BUILD;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                    for (Map.Entry<Object, V> e : ((MergingList<V>) vs).map.entrySet()) {
                        Object key = e.getKey();
                        V oldValue = map.get(key);
                        // JDK8: this should be a call to map.merge( key, v, remapping )
                        V newValue = (oldValue == null) ? e.getValue() : remapping.merge(oldValue, e.getValue());
                        if (newValue == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Field tableField = HashMap.class.getDeclaredField("table");
        tableField.setAccessible(true);
        Object[] table = (Object[]) tableField.get(hashMap);
        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
      public void testCapacityForLargeSizes() {
        int[] largeExpectedSizes =
            new int[] {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top