Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 280 for isImmutable (0.07 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class ImmutableDoubleArray implements Serializable {
      private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]);
    
      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build();
    
        assertThat(graph.nodes()).containsExactly("A");
        assertThat(graph.edges()).isEmpty();
      }
    
      @Test
      public void immutableGraphBuilder_putEdgeFromNodes() {
        ImmutableGraph<String> graph =
            GraphBuilder.directed().<String>immutable().putEdge("A", "B").build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build();
    
        assertThat(graph.nodes()).containsExactly("A");
        assertThat(graph.edges()).isEmpty();
      }
    
      @Test
      public void immutableGraphBuilder_putEdgeFromNodes() {
        ImmutableGraph<String> graph =
            GraphBuilder.directed().<String>immutable().putEdge("A", "B").build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

            .minFresh(3, TimeUnit.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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.Immutable;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /** A {@code RegularImmutableTable} optimized for sparse data. */
    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

            ValueGraphBuilder.directed().<String, Integer>immutable().addNode("A").build();
    
        assertThat(graph.nodes()).containsExactly("A");
        assertThat(graph.edges()).isEmpty();
      }
    
      @Test
      public void immutableValueGraphBuilder_putEdgeFromNodes() {
        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed()
                .<String, Integer>immutable()
                .putEdgeValue("A", "B", 10)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

            NetworkBuilder.directed().<String, Integer>immutable().addNode("A").build();
    
        assertThat(network.nodes()).containsExactly("A");
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
      public void immutableNetworkBuilder_putEdgeFromNodes() {
        ImmutableNetwork<String, Integer> network =
            NetworkBuilder.directed().<String, Integer>immutable().addEdge("A", "B", 10).build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      /**
       * Returns an immutable collection of the values for the given key. If no mappings in the multimap
       * have the provided key, an empty immutable collection is returned. The values are in the same
       * order as the parameters used to build this multimap.
       */
      @Override
      public abstract ImmutableCollection<V> get(K key);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader
    /**
     * Maven immutable XML api.
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 102 bytes
    - Viewed (0)
Back to top