Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for value5 (0.04 seconds)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        checkNotNull(value2);
        checkArgument(!Objects.equals(value1, value2), "Duplicate value provided.");
        distinctValues.replaceValues(type, ImmutableList.of(value1, value2));
        setDefault(type, value1);
        return this;
      }
    
      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns a map with the contents of this {@code FluentIterable} as its {@code values}, indexed
       * by keys derived from those values. In other words, each input value produces an entry in the
       * map whose key is the result of applying {@code keyFunction} to that value. These entries appear
       * in the same order as they appeared in this fluent iterable. Example usage:
       *
       * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns a map with the contents of this {@code FluentIterable} as its {@code values}, indexed
       * by keys derived from those values. In other words, each input value produces an entry in the
       * map whose key is the result of applying {@code keyFunction} to that value. These entries appear
       * in the same order as they appeared in this fluent iterable. Example usage:
       *
       * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *
     * {@snippet :
     * // Building a mutable value graph
     * MutableValueGraph<String, Double> graph =
     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
     * ImmutableValueGraph<String, Double> immutableGraph =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/NetworkBuilder.java

      /**
       * Specifies whether the network will allow parallel edges. Attempting to add a parallel edge to a
       * network that does not allow them will throw an {@link UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> allowsParallelEdges(boolean allowsParallelEdges) {
        this.allowsParallelEdges = allowsParallelEdges;
        return this;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/StandardValueGraph.java

        GraphConnections<N, V> connectionsU = nodeConnections.get(nodeU);
        V value = (connectionsU == null) ? null : connectionsU.value(nodeV);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return defaultValue;
        } else {
          return value;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/GraphBuilder.java

       * Graph#adjacentNodes(Object)}, {@link Graph#predecessors(Object)}, {@link
       * Graph#successors(Object)} and {@link Graph#incidentEdges(Object)}.
       *
       * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For
       * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable()
       * stable} order.
       *
       * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top