Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 280 for isImmutable (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        return server.takeRequest() // conditional get
      }
    
      @Test
      fun immutableIsCached() {
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Cache-Control", "immutable, max-age=10")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("B")
            .build(),
        )
        val url = server.url("/")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Tables.java

        return TableCollectors.<T, R, C, V, I>toTable(
            rowFunction, columnFunction, valueFunction, mergeFunction, tableSupplier);
      }
    
      /**
       * Returns an immutable cell with the specified row key, column key, and value.
       *
       * <p>The returned cell is serializable.
       *
       * @param rowKey the row key to be associated with the returned cell
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Network.java

     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
     *
     * <pre>{@code
     * ImmutableNetwork<Integer, MyEdge> immutableGraph = ImmutableNetwork.copyOf(network);
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graph.java

     * need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on the graph),
     * you should use the non-mutating {@link Graph} interface, or an {@link ImmutableGraph}.
     *
     * <p>You can create an immutable copy of an existing {@code Graph} using {@link
     * ImmutableGraph#copyOf(Graph)}:
     *
     * <pre>{@code
     * ImmutableGraph<Integer> immutableGraph = ImmutableGraph.copyOf(graph);
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/Graph.java

     * need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on the graph),
     * you should use the non-mutating {@link Graph} interface, or an {@link ImmutableGraph}.
     *
     * <p>You can create an immutable copy of an existing {@code Graph} using {@link
     * ImmutableGraph#copyOf(Graph)}:
     *
     * <pre>{@code
     * ImmutableGraph<Integer> immutableGraph = ImmutableGraph.copyOf(graph);
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       * a view of the multiset whose elements are of this class. A multiset implementation may return
       * Entry instances that are either live "read-through" views to the Multiset, or immutable
       * snapshots. Note that this type is unrelated to the similarly-named type {@code Map.Entry}.
       *
       * @since 2.0
       */
      interface Entry<E extends @Nullable Object> {
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeRangeMap.java

      @SuppressWarnings("unchecked")
      private RangeMap<K, V> emptySubRangeMap() {
        return (RangeMap<K, V>) (RangeMap<?, ?>) EMPTY_SUB_RANGE_MAP;
      }
    
      @SuppressWarnings("ConstantCaseForConstants") // This RangeMap is immutable.
      private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP =
          new RangeMap<Comparable<?>, Object>() {
            @Override
            @CheckForNull
            public Object get(Comparable<?> key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multiset.java

       * a view of the multiset whose elements are of this class. A multiset implementation may return
       * Entry instances that are either live "read-through" views to the Multiset, or immutable
       * snapshots. Note that this type is unrelated to the similarly-named type {@code Map.Entry}.
       *
       * @since 2.0
       */
      interface Entry<E extends @Nullable Object> {
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
      public static <B> Builder<B> orderedBy(Comparator<B> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created);
        return MoreObjects.firstNonNull(existing, created);
      }
    
      /**
       * For a given Enum type, creates an immutable map from each of the Enum's values to a
       * corresponding LockGraphNode, with the {@code allowedPriorLocks} and {@code
       * disallowedPriorLocks} prepopulated with nodes according to the natural ordering of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top