Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 200 for Immutable (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

    import okhttp3.internal.http.GzipRequestBody
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.isSensitiveHeader
    
    /**
     * An HTTP request. Instances of this class are immutable if their [body] is null or itself
     * immutable.
     */
    class Request internal constructor(
      builder: Builder,
    ) {
      @get:JvmName("url")
      val url: HttpUrl = checkNotNull(builder.url) { "url == null" }
    
      @get:JvmName("method")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import org.jspecify.annotations.Nullable;
    
    /**
     * See MurmurHash3_x64_128 in <a href="http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp">the
     * C++ implementation</a>.
     *
     * @author Austin Appleby
     * @author Dimitris Andreou
     */
    @Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/package-info.java

     * the License.
     */
    
    /**
     * Static utilities for the eight primitive types and {@code void}, and value types for treating
     * them as unsigned or storing them in immutable arrays.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 15:30:05 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. 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)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

       * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable
       * graph implementations, this method should replace {@link #network} with a new graph that
       * includes this node.
       */
      abstract void addNode(Integer n);
    
      /**
       * A proxy method that adds the edge {@code e} to the graph being tested. In case of Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractService.java

              }
            });
      }
    
      /**
       * An immutable snapshot of the current state of the service. This class represents a consistent
       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

    /**
     * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@code
     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top