Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,298 for Collections (0.05 sec)

  1. guava/src/com/google/common/collect/TreeRangeMap.java

            };
          }
    
          @Override
          public Collection<V> values() {
            return new Maps.Values<Range<K>, V>(this) {
              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Entry::getValue));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashMap.java

            return true;
          }
        }
        return false;
      }
    
      @LazyInit private transient @Nullable Collection<V> valuesView;
    
      @Override
      public Collection<V> values() {
        return (valuesView == null) ? valuesView = createValues() : valuesView;
      }
    
      Collection<V> createValues() {
        return new ValuesView();
      }
    
      @WeakOuter
      class ValuesView extends Maps.Values<K, V> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

      }
    
      @SuppressWarnings("unchecked") // this method may throw CCE
      static int compareOrThrow(Comparable left, Comparable right) {
        return left.compareTo(right);
      }
    
      /** Needed to serialize sorted collections of Ranges. */
      private static final class RangeLexOrdering extends Ordering<Range<?>> implements Serializable {
        static final Ordering<?> INSTANCE = new RangeLexOrdering();
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import java.net.SocketException;
    import java.security.MessageDigest;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.TimeUnit;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      }
    
      /**
       * Creates an executor service that runs each task in the thread that invokes {@code
       * execute/submit}, as in {@link CallerRunsPolicy} This applies both to individually submitted
       * tasks and to collections of tasks submitted via {@code invokeAll} or {@code invokeAny}. In the
       * latter case, tasks will run serially on the calling thread. Tasks are run to completion before
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

    import static com.google.common.collect.Maps.transformValues;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Collections.sort;
    
    import com.google.common.base.Function;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.EntryTransformer;
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          threadUnexpectedException(e);
        } finally {
          future.cancel(true);
        }
        assertThat(millisElapsedSince(startTime)).isAtLeast(timeoutMillis);
      }
    
      /** The number of elements to place in collections, arrays, etc. */
      public static final int SIZE = 20;
    
      // Some convenient Integer constants
    
      public static final Integer zero = 0;
      public static final Integer one = 1;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

    public final class BloomFilter<T extends @Nullable Object> implements Predicate<T>, Serializable {
      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top