Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 189 for bots (0.13 sec)

  1. guava/src/com/google/common/base/MoreObjects.java

       * @throws NullPointerException if both {@code first} and {@code second} are null
       * @since 18.0 (since 3.0 as {@code Objects.firstNonNull()}).
       */
      public static <T> T firstNonNull(@CheckForNull T first, @CheckForNull T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/BaseEncoding.java

          // We're looking for the smallest charsPerChunk such that bitsPerChar * charsPerChunk is a
          // multiple of 8. A multiple of 8 has 3 low zero bits, so we just need to figure out how many
          // extra zero bits we need to add to the end of bitsPerChar to get 3 in total.
          // The logic here would be wrong for bitsPerChar > 8, but since we require distinct ASCII
          // characters that can't happen.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
     *       <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality
     *       groups and the items within equality groups are numbered starting from 1. When either a
     *       constructor argument or an equal object is provided, that becomes group 1.
     * </ul>
     *
     * @author Jim McMaster
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

    import java.lang.reflect.Type;
    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Unit tests of {@link TypeResolver}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeResolverTest extends TestCase {
    
      public void testWhere_noMapping() {
        Type t = aTypeVariable();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      public void testCompare() {
        // max value
        assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

        return new AndPredicate<T>(defensiveCopy(components));
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if both of its components evaluate to {@code
       * true}. The components are evaluated in order, and evaluation will be "short-circuited" as soon
       * as a false predicate is found.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsTesting.java

        }
      }
    
      /**
       * Asserts that {@code transformation} is diagonal (i.e. neither horizontal nor vertical) and
       * passes through both {@code (x1, y1)} and {@code (x1 + xDelta, y1 + yDelta)}. Includes
       * assertions about all the public instance methods of {@link LinearTransformation} (on both
       * {@code transformation} and its inverse). Since the transformation is expected to be diagonal,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
Back to top