Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 280 for isImmutable (0.09 sec)

  1. android/guava/src/com/google/common/collect/CollectCollectors.java

            return this;
          }
        }
    
        ImmutableSet<E> toImmutableSet() {
          if (set == null) {
            return ImmutableSet.of();
          }
          ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set);
          set = null; // subsequent manual manipulation of the accumulator mustn't affect ret
          return ret;
        }
      }
    
      @GwtIncompatible
      @SuppressWarnings({"rawtypes", "unchecked"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
      /** Returns an immutable snapshot of the statistics on the {@code x} values alone. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/HostAndPort.java

    import com.google.common.base.Objects;
    import com.google.common.base.Strings;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable representation of a host and port.
     *
     * <p>Example usage:
     *
     * <pre>
     * HostAndPort hp = HostAndPort.fromString("[2001:db8::1]")
     *     .withDefaultPort(80)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

        char max = max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

       * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable
       * graph implementations, this method should replace {@link #network} with a new graph that
       * includes this node.
       */
      abstract void addNode(Integer n);
    
      /**
       * A proxy method that adds the edge {@code e} to the graph being tested. In case of Immutable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharSource.java

    /**
     * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@code
     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</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
    - 25.5K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    import java.nio.file.Path;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import javax.annotation.CheckForNull;
    
    /**
     * See MurmurHash3_x86_32 in <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Checksum algorithms service.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ChecksumAlgorithmService extends Service {
    
        /**
         * Returns immutable collection of all supported algorithm names.
         */
        @Nonnull
        Collection<String> getChecksumAlgorithmNames();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    import org.apache.maven.api.Project;
    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top