Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 298 for immutable (0.04 sec)

  1. guava/src/com/google/common/collect/Interner.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Provides similar behavior to {@link String#intern} for any immutable type. Common implementations
     * are available from the {@link Interners} class.
     *
     * <p>Note that {@code String.intern()} has some well-known performance limitations, and should
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/EndpointPair.java

    import com.google.common.annotations.Beta;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.UnmodifiableIterator;
    import com.google.errorprone.annotations.Immutable;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable pair representing the two endpoints of an edge in a graph. The {@link EndpointPair}
     * of a directed edge is an ordered pair of nodes ({@link #source()} and {@link #target()}). The
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A request for creating a {@link ArtifactCoordinates} object.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactCoordinatesFactoryRequest extends Request<Session> {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
      /** Returns an immutable range map mapping a single range to a single value. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return (SortedSet<V>) super.get(key);
      }
    
      /**
       * Removes all values associated with a given key. The returned collection is immutable.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/SipHashFunction.java

    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link HashFunction} implementation of SipHash-c-d.
     *
     * @author Kurt Alfred Kluever
     * @author Jean-Philippe Aumasson
     * @author Daniel J. Bernstein
     */
    @Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

    import java.util.Collections;
    import java.util.Map;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Indicates when the dependency will be used.
     * For example, it may be at compile time only, at runtime, or at test time.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

    import java.util.List;
    import java.util.Optional;
    import java.util.function.Predicate;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.annotations.Provider;
    
    /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

          Map<Class<?>, Class<?>> forward,
          Map<Class<?>, Class<?>> backward,
          Class<?> key,
          Class<?> value) {
        forward.put(key, value);
        backward.put(value, key);
      }
    
      /**
       * Returns an immutable set of all nine primitive types (including {@code void}). Note that a
       * simpler way to test whether a {@code Class} instance is a member of this set is to call {@link
       * Class#isPrimitive}.
       *
       * @since 3.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

      fun value(index: Int): String = commonValue(index)
    
      /** Returns an immutable case-insensitive set of header names. */
      fun names(): Set<String> {
        val result = TreeSet(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          result.add(name(i))
        }
        return result.unmodifiable()
      }
    
      /** Returns an immutable list of the header values for `name`. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top