Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 546 for cyan (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapGenerators {
      public static class ImmutableMapGenerator extends TestStringMapGenerator {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

    import java.time.Duration;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * A Ticker whose value can be advanced programmatically in test.
     *
     * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called:
     * see {@link #setAutoIncrementStep}.
     *
     * <p>This class is thread-safe.
     *
     * @author Jige Yu
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import java.util.Iterator;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava/pom.xml

              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
              <!-- We add the link ourselves, both so that we can choose Java 9 over the version that -source suggests and so that we can solve the JSR305 problem described below. -->
              <detectJavaApiLink>false</detectJavaApiLink>
              <offlineLinks>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * Encapsulates the action to be taken when a potential deadlock is encountered. Clients can use
       * one of the predefined {@link Policies} or specify a custom implementation. Implementations must
       * be thread-safe.
       *
       * @since 13.0
       */
      public interface Policy {
    
        /**
         * Called when a potential deadlock is encountered. Implementations can throw the given {@code
         * exception} and/or execute other desired logic.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        if (index >= 0) {
          return inclusive ? index : index + 1;
        } else {
          return ~index;
        }
      }
    
      // Pretend the comparator can compare anything. If it turns out it can't
      // compare two elements, it'll throw a CCE. Only methods that are specified to
      // throw CCE should call this.
      @SuppressWarnings("unchecked")
      Comparator<Object> unsafeComparator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

    import java.util.Comparator;
    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulation of {@link RegularImmutableSortedSet}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
    
      /** true if this set is a subset of another immutable sorted set. */
      final boolean isSubset;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

        } catch (Throwable t) {
          /*
           * This is not one of AppEngine's allowed classes, so even in Sun JDKs, this can fail with
           * a NoClassDefFoundError. Other apps might deny access to sun.misc packages.
           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top