Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,405 for rejects (0.1 seconds)

  1. android/guava/src/com/google/common/primitives/Floats.java

       * @since 21.0
       */
      public static float constrainToRange(float value, float min, float max) {
        // avoid auto-boxing by not using Preconditions.checkArgument(); see Guava issue 3984
        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Supplier.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class that can supply objects of a single type; a pre-Java-8 version of {@link
     * java.util.function.Supplier java.util.function.Supplier}. Semantically, this could be a factory,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

    import org.apache.maven.repository.internal.artifact.MavenArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Default implementation of {@link Type} and Resolver {@link ArtifactType}.
     *
     * @since 4.0.0
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.function.Supplier;
    
    import org.apache.maven.api.plugin.Log;
    import org.slf4j.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    public class DefaultLog implements Log {
        private final Logger logger;
    
        public DefaultLog(Logger logger) {
            this.logger = requireNonNull(logger);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableBiMap.java

               * up using the entries array directly and writing over the entry objects with
               * non-terminal entries, but this is safe; if this Builder is used further, it will grow
               * the entries array (so it can't affect the original array), and future build() calls
               * will always copy any entry objects that cannot be safely reused.
               */
              if (valueComparator != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.Set;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.DependencyScope;
    import org.apache.maven.api.Lifecycle;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

     * This convention is enforced by checking the versions we consider to be unreleased against an
     * authoritative source (maven central).
     * We are then able to map the unreleased version to branches in git and Gradle projects that are capable of checking
     * out and building them, so we can include these in the testing plan as well.
     */
    public class BwcVersions {
    
        private static final Pattern LINE_PATTERN = Pattern.compile(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Table.java

    import com.google.errorprone.annotations.CompatibleWith;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A collection that associates an ordered pair of keys, called a row key and a column key, with a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

                    | NegTokenInit.SEQUENCE_CHECKING | NegTokenInit.ANONYMITY | NegTokenInit.CONFIDENTIALITY | NegTokenInit.INTEGRITY;
            assertEquals(expected, flags);
        }
    
        @Test
        @DisplayName("isEstablished reflects underlying context state")
        void isEstablished_behavior() throws Exception {
            when(gssContext.isEstablished()).thenReturn(true);
            assertTrue(ctx.isEstablished());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Preconditions.java

     * similar to those in this class for non-precondition checks.
     *
     * <h3>{@code java.util.Objects.requireNonNull()}</h3>
     *
     * <p>Projects which use {@code com.google.common} should generally avoid the use of {@link
     * java.util.Objects#requireNonNull(Object)}. Instead, use whichever of {@link
     * #checkNotNull(Object)} or {@link Verify#verifyNotNull(Object)} is appropriate to the situation.
    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)
Back to Top