Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 387 for Immutable (0.2 sec)

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

      private final ImmutableMap<C, ImmutableMap<R, V>> columnMap;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] rowCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] columnCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final @Nullable V[][] values;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
      /** Returns an immutable sorted multiset containing a single element. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableNetwork.java

    import com.google.errorprone.annotations.Immutable;
    import java.util.Map;
    
    /**
     * A {@link Network} whose elements and structural relationships will never change. Instances of
     * this class may be obtained with {@link #copyOf(Network)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        level = DeprecationLevel.ERROR,
      )
      fun noTransform(): Boolean = noTransform
    
      @JvmName("-deprecated_immutable")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "immutable"),
        level = DeprecationLevel.ERROR,
      )
      fun immutable(): Boolean = immutable
    
      override fun toString(): String = commonToString()
    
      /** Builds a `Cache-Control` request header. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/ImmutableSupplier.java

    package com.google.common.hash;
    
    import com.google.common.base.Supplier;
    import com.google.errorprone.annotations.Immutable;
    
    /**
     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

     * {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMap.of or another implementation")
    @GwtCompatible(serializable = true, emulated = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ElementOrder.java

     * }</pre>
     *
     * @author Joshua O'Madadhain
     * @since 20.0
     */
    @Beta
    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class ElementOrder<T> {
      private final Type type;
    
      @SuppressWarnings("Immutable") // Hopefully the comparator provided is immutable!
      @CheckForNull
      private final Comparator<T> comparator;
    
      /**
       * The type of ordering that this object specifies.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheControlTest.kt

            .maxStale(2.seconds)
            .minFresh(3.seconds)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/site/apt/index.apt

     -----
     Vincent Siveton
     -----
     2006-11-04
     -----
    
    Maven 4 API - Immutable Toolchains Model
    
     This is strictly the immutable model for Maven toolchains in <<<org.apache.maven.api.toolchain>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Dec 31 16:32:07 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top