Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 280 for isImmutable (0.07 sec)

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

      }
    
      /**
       * Returns an immutable map instance containing the given entries. Internally, the returned map
       * will be backed by an {@link EnumMap}.
       *
       * <p>The iteration order of the returned map follows the enum's iteration order, not the order in
       * which the elements appear in the given map.
       *
       * @param map the map to make an immutable copy of
       * @return an immutable map containing those entries
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSink.java

    /**
     * A destination to which characters can be written, such as a text file. Unlike a {@link Writer}, a
     * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code Writer} instances.
     *
     * <p>{@code CharSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InternetDomainName.java

    import com.google.errorprone.annotations.Immutable;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.thirdparty.publicsuffix.PublicSuffixPatterns;
    import com.google.thirdparty.publicsuffix.PublicSuffixType;
    import java.util.List;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
       * collapsing them to a single element or including duplicate instances in the collection.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. README.md

    
    
    Guava is a set of core Java libraries from Google that includes new collection
    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 18:34:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multimaps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.nio.charset.Charset;
    import java.nio.charset.IllegalCharsetNameException;
    import java.nio.charset.UnsupportedCharsetException;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/MapIteratorCache.java

     * correctness in the face of external mutations to the backing map. As such, it is <b>strongly</b>
     * recommended that the caller does not persist a reference to the backing map (unless the backing
     * map is immutable).
     *
     * <p>This class is tailored toward use cases in common.graph. It is *NOT* a general purpose map.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    class MapIteratorCache<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Resources.java

       */
      public static List<String> readLines(URL url, Charset charset) throws IOException {
        // don't use asCharSource(url, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return readLines(
            url,
            charset,
            new LineProcessor<List<String>>() {
              final List<String> result = Lists.newArrayList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashFunction.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
Back to top