Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 246 for Balter (0.73 sec)

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

     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Striped64.java

       * under the assumption that for long-running instances, observed
       * contention levels will recur, so the cells will eventually be
       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

        FINITE_DOUBLE_CANDIDATES =
            Iterables.concat(FRACTIONAL_DOUBLE_CANDIDATES, INTEGRAL_DOUBLE_CANDIDATES);
        POSITIVE_FINITE_DOUBLE_CANDIDATES =
            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
                new Predicate<Double>() {
                  @Override
                  public boolean apply(Double input) {
                    return input.doubleValue() > 0.0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashFunction.java

       *
       * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for
       * cross-language compatibility. For other use cases, prefer {@link #hashUnencodedChars}, which is
       * faster, produces the same output across Java releases, and hashes every {@code char} in the
       * input, even if some are invalid.
       */
      HashCode hashString(CharSequence input, Charset charset);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Verify.java

     * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
     * reasonable and it will be fine.
     *
     * <ul>
     *   <li>If checking whether the <i>caller</i> has violated your method or constructor's contract
     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(ignoreCase, "666F6F626172", "foobar");
        testDecodes(ignoreCase, "666f6f626172", "foobar");
        testDecodes(ignoreCase, "666F6f626172", "foobar");
      }
    
      // order the methods are called should not matter
      public void testBase16IgnoreCaseLowerCase() {
        BaseEncoding ignoreCase = base16().ignoreCase().lowerCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base16());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

       * signatures as the methods below, rather than overriding the same doForward and doBackward
       * methods as implementations of normal converters do?
       *
       * But no matter what we do, it's worth remembering that the resulting code is going to be unsound
       * in the presence of LegacyConverter, at least in the case of users who view the converter as a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
        return wrapCollection(key, collection);
      }
    
      /**
       * Generates a decorated collection that remains consistent with the values in the multimap for
       * the provided key. Changes to the multimap may alter the returned collection, and vice versa.
       */
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedCollection(key, collection, null);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

        int size = thisList.size();
        if (size != otherList.size()) {
          return false;
        }
        if (thisList instanceof RandomAccess && otherList instanceof RandomAccess) {
          // avoid allocation and use the faster loop
          for (int i = 0; i < size; i++) {
            if (!Objects.equal(thisList.get(i), otherList.get(i))) {
              return false;
            }
          }
          return true;
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return CollectCollectors.toImmutableSortedMap(
            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      /*
       * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and
       * uses less memory than TreeMap; then say so in the class Javadoc.
       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top