Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 454 for mutable (0.07 sec)

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

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An immutable {@code Map.Entry}, used both by {@link
     * com.google.common.collect.Maps#immutableEntry(Object, Object)} and by other parts of {@code
     * common.collect} as a superclass.
     */
    @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 19 21:29:44 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/main/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 Collections.unmodifiableSet(result)
      }
    
      /** Returns an immutable list of the header values for `name`. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val minFreshSeconds: Int = cacheControl.minFreshSeconds()
        val onlyIfCached: Boolean = cacheControl.onlyIfCached()
        val noTransform: Boolean = cacheControl.noTransform()
        val immutable: Boolean = cacheControl.immutable()
        val parse: CacheControl = CacheControl.parse(Headers.of())
      }
    
      @Test @Disabled
      fun challenge() {
        val challenge = Challenge("", mapOf("" to ""))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun Response.headersContentLength(): Long {
      return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L
    }
    
    /** Returns an immutable copy of this. */
    internal fun <T> List<T>.toImmutableList(): List<T> {
      return Collections.unmodifiableList(toMutableList())
    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Splits {@code sequence} into string components and returns them as an immutable list. If you
       * want an {@link Iterable} which may be lazily evaluated, use {@link #split(CharSequence)}.
       *
       * @param sequence the sequence of characters to split
       * @return an immutable list of the segments split from the parameter
       * @since 15.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/UrlEscapers.java

     * the License.
     */
    
    package com.google.common.net;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.Escaper;
    
    /**
     * {@code Escaper} instances suitable for strings to be included in particular sections of URLs.
     *
     * <p>If the resulting URLs are inserted into an HTML or XML document, they will require additional
     * escaping with {@link com.google.common.html.HtmlEscapers} or {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

            NetworkBuilder.directed()
                .allowsSelfLoops(allowsSelfLoops)
                .allowsParallelEdges(allowsParallelEdges)
                .nodeOrder(nodeOrder)
                .edgeOrder(edgeOrder)
                .immutable();
    
        return networkBuilder.build();
      }
    
      @Override
      void addNode(Integer n) {
        networkBuilder.addNode(n);
        network = networkBuilder.build();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  8. api/maven-api-toolchain/pom.xml

        <artifactId>maven-api</artifactId>
        <version>4.0.0-beta-6-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-api-toolchain</artifactId>
    
      <name>Maven 4 API :: Toolchain</name>
      <description>Maven 4 API - Immutable Toolchain model.</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-meta</artifactId>
        </dependency>
        <dependency>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.primitives.Ints;
    import java.util.Comparator;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable sorted multiset with one or more distinct elements.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

    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.NotThreadSafe;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DependencyCoordinatesFactoryRequest extends ArtifactCoordinatesFactoryRequest {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top