Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 399 for immutable (0.26 sec)

  1. android/guava/src/com/google/common/graph/ImmutableNetwork.java

    import com.google.errorprone.annotations.Immutable;
    import java.util.Map;
    
    /**
     * A {@link Network} whose elements and structural relationships will never change. Instances of
     * this class may be obtained with {@link #copyOf(Network)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
      /** Returns an immutable sorted multiset containing a single element. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheControlTest.kt

            .maxStale(2.seconds)
            .minFresh(3.seconds)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

    import com.google.errorprone.annotations.Immutable;
    
    /**
     * A {@link ValueGraph} whose elements and structural relationships will never change. Instances of
     * this class may be obtained with {@link #copyOf(ValueGraph)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ")
            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int {
      return when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.AbstractList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.RandomAccess;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable array of {@code int} values, with an API resembling {@link List}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

            ValueGraphBuilder.directed().<String, Integer>immutable().addNode("A").build();
    
        assertThat(graph.nodes()).containsExactly("A");
        assertThat(graph.edges()).isEmpty();
      }
    
      @Test
      public void immutableValueGraphBuilder_putEdgeFromNodes() {
        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed()
                .<String, Integer>immutable()
                .putEdgeValue("A", "B", 10)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 6.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns an empty immutable table.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <R, C, V> ImmutableTable<R, C, V> of() {
        return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY;
      }
    
      /** Returns an immutable table containing a single cell. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.AbstractList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.RandomAccess;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable array of {@code long} values, with an API resembling {@link List}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

    import com.google.common.primitives.Primitives;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top