Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for valides (0.2 sec)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

      /**
       * Helper method for {@link #validateSyntax(List)}. Validates that one part of a domain name is
       * valid.
       *
       * @param part The domain name part to be validated
       * @param isFinalPart Is this the final (rightmost) domain part?
       * @return Whether the part is valid
       */
      private static boolean validatePart(String part, boolean isFinalPart) {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Stats.java

       *
       * @param values a series of values
       */
      public static Stats of(double... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

        assertGet(null, values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceEmptyValues() {
        int size = multimap().size();
        List<V> values = Arrays.asList(v0(), v2(), v3());
        multimap().replaceValues(k3(), values);
        assertGet(k3(), values);
        assertEquals(size + values.size(), multimap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        Collections.sort(values, navigableSet.comparator());
    
        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      /** Resets the contents of navigableSet to have elements a, c, for the navigation tests. */
      protected void resetWithHole() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        Collections.sort(values, sortedSet.comparator());
    
        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetFirst() {
        try {
          sortedSet.first();
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ContiguousSet.java

    import java.util.NoSuchElementException;
    import java.util.Set;
    
    /**
     * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigDecimal.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigDecimal.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentablePlusOne() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

       */
      @VisibleForTesting @CheckForNull transient @Nullable Object[] keys;
    
      /**
       * The values of the entries in the map, in the range of [0, size()). The values in [size(),
       * values.length) are all {@code null}.
       */
      @VisibleForTesting @CheckForNull transient @Nullable Object[] values;
    
      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

      /**
       * Returns a collection of all values, which may contain duplicates. Changes to the returned
       * collection will update the underlying table, and vice versa.
       *
       * @return collection of values
       */
      Collection<V> values();
    
      /**
       * Returns a view that associates each row key with the corresponding map from column keys to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        assertNull("put(key, null) should return null", put(nullValueEntry));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPut_nullValueUnsupported() {
        try {
          put(nullValueEntry);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top