Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 403 for immutable (0.06 seconds)

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

     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(-1L, Smb2Constants.UNSPECIFIED_SESSIONID, "Unspecified SessionId as signed long should be -1");
            }
    
            @Test
            @DisplayName("Unspecified FileId should be immutable")
            void testUnspecifiedFileIdImmutability() {
                byte[] originalFileId = Smb2Constants.UNSPECIFIED_FILEID;
                byte[] copyFileId = Smb2Constants.UNSPECIFIED_FILEID.clone();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

     */
    
    package com.google.common.hash;
    
    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    
    /**
     * This class generates a CRC32C checksum, defined by RFC 3720, Section 12.1. The generator
     * polynomial for this checksum is {@code 0x11EDC6F41}.
     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    final class Crc32cHashFunction extends AbstractHashFunction {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 21.2K bytes
    - Click Count (0)
  5. android/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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          map.put(key, collection);
        }
        return collection;
      }
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p>The returned collection is immutable.
       */
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        Iterator<? extends V> iterator = values.iterator();
        if (!iterator.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a
     * single-element sorted set.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

    /**
     * A readable source of bytes, such as a file. Unlike an {@link InputStream}, a {@code ByteSource}
     * is not an open, stateful stream for input that can be read and closed. Instead, it is an
     * immutable <i>supplier</i> of {@code InputStream} instances.
     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    This is an inappropriate use of lazy types:
    
    ```groovy
    class Example {
        Provider<String> getPath() {
            return project.provider(() -> path)
        }
    }
    ```
    
    Like above, this is an immutable part of the identity of the domain object and cannot be changed.
    
    ### Properties in entirely new classes
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

            kryo.register(HashMap.class, new MapSerializer<>());
            kryo.register(LinkedHashMap.class, new MapSerializer<>());
            kryo.register(TreeMap.class, new MapSerializer<>());
    
            // Immutable collections (from Collections utility)
            // Register each class individually to ensure partial failures don't skip all registrations
            registerClassSafely(kryo, Collections.emptyList().getClass());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
Back to Top