Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 804 for value (0.14 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableMap.java

                duplicateKey =
                    new Builder.DuplicateKey(
                        key, value, requireNonNull(alternatingKeysAndValues[previousKeyIndex ^ 1]));
                alternatingKeysAndValues[previousKeyIndex ^ 1] = value;
                continue entries;
              }
            }
            if (outI < i) { // if outI == i don't bother writing the values back where they came from
              alternatingKeysAndValues[outKeyIndex] = key;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        return connections;
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public V putEdgeValue(N nodeU, N nodeV, V value) {
        checkNotNull(nodeU, "nodeU");
        checkNotNull(nodeV, "nodeV");
        checkNotNull(value, "value");
    
        if (!allowsSelfLoops()) {
          checkArgument(!nodeU.equals(nodeV), SELF_LOOPS_NOT_ALLOWED, nodeU);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(TWO_VALUES_STATS, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(TWO_VALUES_STATS, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                    }
                  }
    
                  @Override
                  public @Nullable String put(String key, String value) {
                    checkNotNull(value);
                    return map.put(key, value);
                  }
                };
              }
            },
            "HashMap w/out null values",
            ALLOWS_NULL_KEYS);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

        }
        // we did over/under flow, if the sign is negative we should return MAX otherwise MIN
        return Long.MAX_VALUE + ((naiveSum >>> (Long.SIZE - 1)) ^ 1);
      }
    
      /**
       * Returns the difference of {@code a} and {@code b} unless it would overflow or underflow in
       * which case {@code Long.MAX_VALUE} or {@code Long.MIN_VALUE} is returned, respectively.
       *
       * @since 20.0
       */
      @SuppressWarnings("ShortCircuitBoolean")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThat(integerManyValuesAccumulatorByAddAllIterable.sum())
            .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN)
            .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT);
        assertThat(longManyValuesAccumulatorByAddAllIterator.sum())
            .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN)
            .of(LONG_MANY_VALUES_MEAN * LONG_MANY_VALUES_COUNT);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Cut.java

     * 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,
     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top