Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 280 for isImmutable (0.07 sec)

  1. guava/src/com/google/common/hash/MessageDigestHashFunction.java

     * {@link HashFunction} adapter for {@link MessageDigest} instances.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final MessageDigest prototype;
    
      private final int bytes;
      private final boolean supportsClone;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/PackageSanityTests.java

      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
          GraphBuilder.directed().<String>immutable().addNode("B").build();
    
      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_A =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

     * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // array not modified after creation
      final HashFunction[] functions;
    
      AbstractCompositeHashFunction(HashFunction... functions) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    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.model.ModelBase;
    
    /**
     * <p>A <dfn>remote repository</dfn> is a central or distributed location
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * <p>In Maven, repositories are locations where project artifacts (such as JAR files, POM files, and other
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        return new SingletonImmutableBiMap<>(k1, v1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys or values are added
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. 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)
  8. api/maven-api-settings/src/site/apt/index.apt

     -----
     Vincent Siveton
     -----
     2006-11-04
     -----
    
    Maven 4 API - Immutable Settings Model
    
     This is strictly the immutable model for Maven settings in <<<org.apache.maven.api.settings>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Dec 31 16:32:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * Returns, as an immutable list, the row keys provided when the table was constructed, including
       * those that are mapped to null values only.
       */
      public ImmutableList<R> rowKeyList() {
        return rowList;
      }
    
      /**
       * Returns, as an immutable list, the column keys provided when the table was constructed,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. 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;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top