Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Tiller (0.28 sec)

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

       * or its views, only mappings whose keys satisfy the filter will be removed from the underlying
       * map.
       *
       * <p>The returned map isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered map's methods, such as {@code size()}, iterate across every key/value
       * mapping in the underlying map and determine which satisfy the filter. When a live view is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      static <E extends @Nullable Object> Collection<E> filterCollection(
          Collection<E> collection, Predicate<? super E> predicate) {
        if (collection instanceof Set) {
          return Sets.filter((Set<E>) collection, predicate);
        } else {
          return Collections2.filter(collection, predicate);
        }
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return asMap().get(key) != null;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterators.java

       */
      @SuppressWarnings("unchecked") // can cast to <T> because non-Ts are removed
      @GwtIncompatible // Class.isInstance
      public static <T> UnmodifiableIterator<T> filter(Iterator<?> unfiltered, Class<T> desiredType) {
        return (UnmodifiableIterator<T>) filter(unfiltered, instanceOf(desiredType));
      }
    
      /**
       * Returns {@code true} if one or more elements returned by {@code iterator} satisfy the given
       * predicate.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * <p><b>{@code Stream} equivalent:</b> {@link Stream#filter}.
       */
      public static <T extends @Nullable Object> Iterable<T> filter(
          final Iterable<T> unfiltered, final Predicate<? super T> retainIfTrue) {
        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return Iterators.filter(unfiltered.iterator(), retainIfTrue);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY;
          return empty;
        } else if (n == 1) {
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1]));
          return new RegularImmutableMap<K, V>(null, alternatingKeysAndValues, 1);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
     * its caller has made a mistake. This allows constructs such as
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

      }
    
      private static Type[] toArray(Collection<Type> types) {
        return types.toArray(new Type[0]);
      }
    
      private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) {
        return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class)));
      }
    
      private static void disallowPrimitiveType(Type[] types, String usedAs) {
        for (Type type : types) {
          if (type instanceof Class) {
    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)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          thrownUnsafeFailure = unsafeFailure;
          // catch absolutely everything and fall through to our 'SafeAtomicHelper'
          // The access control checks that ARFU does means the caller class has to be AbstractFuture
          // instead of SafeAtomicHelper, so we annoyingly define these here
          try {
            helper =
                new SafeAtomicHelper(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * {@code invokeAny}. In the latter case, tasks will run serially on the calling thread. Tasks are
       * run to completion before a {@code Future} is returned to the caller (unless the executor has
       * been shutdown).
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top