Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 353 for immutable (0.08 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          boolean isSubset =
              (result instanceof RegularImmutableSortedSet)
                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
            // Only return the original copy if this immutable sorted set isn't
            // a subset of another, to avoid memory leak.
            return result;
          }
        }
        return copyOfInternal(comparator, elements.iterator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          default:
            @SuppressWarnings("unchecked")
            List<E> castedList = (List<E>) list;
            return new RegularImmutableList<E>(castedList);
        }
      }
    
      /**
       * Views the array as an immutable list. The array must have only {@code E} elements.
       *
       * <p>The array must be internally created.
       */
      @SuppressWarnings("unchecked") // caller is reponsible for getting this right
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    type complex128 complex128
    
    // string is the set of all strings of 8-bit bytes, conventionally but not
    // necessarily representing UTF-8-encoded text. A string may be empty, but
    // not nil. Values of string type are immutable.
    type string string
    
    // int is a signed integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, int32.
    type int int
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/HashCode.java

    import com.google.common.primitives.UnsignedInts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable hash code of arbitrary bit length.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public abstract class HashCode {
      HashCode() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. 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 <tt>SmbResource</tt></i>.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/cache/CacheStats.java

    import com.google.common.base.Objects;
    import java.util.concurrent.Callable;
    import javax.annotation.CheckForNull;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheStats.java

    import com.google.common.base.Objects;
    import java.util.concurrent.Callable;
    import javax.annotation.CheckForNull;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

    open class OkHttpClient internal constructor(
      builder: Builder,
    ) : Call.Factory, WebSocket.Factory {
      @get:JvmName("dispatcher")
      val dispatcher: Dispatcher = builder.dispatcher
    
      /**
       * Returns an immutable list of interceptors that observe the full span of each call: from before
       * the connection is established (if any) until after the response source is selected (either the
       * origin server, cache, or both).
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top