Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for unique (0.2 sec)

  1. android/guava/src/com/google/common/graph/MutableValueGraph.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface MutableValueGraph<N, V> extends ValueGraph<N, V> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

              graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
         * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
         *
         * @return this {@code Builder} object
         */
        @CanIgnoreReturnValue
        public ImmutableValueGraph.Builder<N, V> addNode(N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractSetMultimap.java

       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeBasedTable.java

     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
     * <p>Because a {@code TreeBasedTable} has unique sorted values for a given row, both {@code
     * row(rowKey)} and {@code rowMap().get(rowKey)} are {@link SortedMap} instances, instead of the
     * {@link Map} specified in the {@link Table} interface.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/MutableNetwork.java

     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface MutableNetwork<N, E> extends Network<N, E> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/MutableGraph.java

     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface MutableGraph<N> extends Graph<N> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/BiMap.java

       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a bimap has unique values, this method returns a {@link Set}, instead of the {@link
       * java.util.Collection} specified in the {@link Map} interface.
       */
      @Override
      Set<V> values();
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Striped.java

     * small portion of these would be in use.
     *
     * <p>Prior to this class, one might be tempted to use {@code Map<K, Lock>}, where {@code K}
     * represents the task. This maximizes concurrency by having each unique key mapped to a unique
     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/Cut.java

    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      // with the correct parameters.
      private static final int INITIAL_DELAY = 10;
      private static final int DELAY = 20;
      private static final TimeUnit UNIT = MILLISECONDS;
    
      // Unique runnable object used for comparison.
      final Runnable testRunnable =
          new Runnable() {
            @Override
            public void run() {}
          };
      boolean called = false;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top