Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Turing (0.41 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       *     string using {@link String#valueOf(Object)}
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression, @CheckForNull Object errorMessage) {
        if (!expression) {
          throw new IllegalArgumentException(String.valueOf(errorMessage));
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

        }
    
        public D getGenericDeclaration() {
          return genericDeclaration;
        }
    
        public String getName() {
          return name;
        }
    
        public String getTypeName() {
          return name;
        }
    
        @Override
        public String toString() {
          return name;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
    
          final String string = paramString(CharMatcher.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
        };
      }
    
      @Generates
      Ticker generateTicker() {
        return new Ticker() {
          @Override
          public long read() {
            return 0;
          }
    
          final String string = paramString(Ticker.class, generateInt());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
       *         .put('b', "anana")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        /**
         * Returns a string representation of this multiset entry. The string representation consists of
         * the associated element if the associated count is one, and otherwise the associated element
         * followed by the characters " x " (space, x and space) followed by the count. Elements and
         * counts are converted to strings as by {@code String.valueOf}.
         */
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Comparators.java

       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

          this.iterable = iterable;
        }
    
        @Override
        public Iterator<T> iterator() {
          return Iterators.unmodifiableIterator(iterable.iterator());
        }
    
        @Override
        public String toString() {
          return iterable.toString();
        }
        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * maps ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
       *     new ImmutableSortedMap.Builder<Integer, String>(Ordering.natural())
       *         .put(1, "one")
       *         .put(2, "two")
       *         .put(3, "three")
       *         .buildOrThrow();
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (Thread.interrupted()) {
            throw new InterruptedException();
          }
          remainingNanos = endNanos - System.nanoTime();
        }
    
        String futureToString = toString();
        final String unitString = unit.toString().toLowerCase(Locale.ROOT);
        String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT);
        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top