Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 298 for immutable (0.05 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            return recommendedVersion;
        }
    
        public List<Restriction> getRestrictions() {
            return restrictions;
        }
    
        /**
         * @deprecated VersionRange is immutable, cloning is not useful and even more an issue against the cache
         * @return a clone
         */
        @Deprecated
        public VersionRange cloneOf() {
            List<Restriction> copiedRestrictions = null;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

        /**
         * Changes the name of the file this <code>SmbResource</code> represents to the name
         * designated by the <code>SmbResource</code> argument.
         * <br>
         * <i>Remember: <code>SmbResource</code>s are immutable and therefore
         * the path associated with this <code>SmbResource</code> object will not
         * change). To access the renamed file it is necessary to construct a
         * new <code>SmbResource</code></i>.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/math/StatsAccumulator.java

            mean = calculateNewMeanNonFinite(mean, otherMean);
            sumOfSquaresOfDeltas = NaN;
          }
          min = Math.min(min, otherMin);
          max = Math.max(max, otherMax);
        }
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public Stats snapshot() {
        return new Stats(count, mean, sumOfSquaresOfDeltas, min, max);
      }
    
      /** Returns the number of values. */
      public long count() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/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(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * operations.
       *
       * <p>The iterator generated by the returned set traverses the entries in the order they were
       * added to the multimap.
       *
       * <p>Each entry is an immutable snapshot of a key-value mapping in the multimap, taken at the
       * time the entry is returned by a method call to the collection or its iterator.
       */
      @Override
      public Set<Entry<K, V>> entries() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

      public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
        // Every node is, at a minimum, reachable from itself. Since the resulting transitive closure
        // will have no isolated nodes, we can skip adding nodes explicitly and let putEdge() do it.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/Graphs.java

      public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
        // Every node is, at a minimum, reachable from itself. Since the resulting transitive closure
        // will have no isolated nodes, we can skip adding nodes explicitly and let putEdge() do it.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. 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)}:
     *
     * {@snippet :
     * ImmutableNetwork<Integer, MyEdge> immutableGraph = ImmutableNetwork.copyOf(network);
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top