Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for Wright (0.19 sec)

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

         */
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        while (added < numElements) {
          // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple
          // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
          added += q.drainTo(buffer, numElements - added);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Doubles.java

        INSTANCE;
    
        @Override
        public int compare(double[] left, double[] right) {
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
            int result = Double.compare(left[i], right[i]);
            if (result != 0) {
              return result;
            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          System.setProperty(JAVA_CLASS_PATH.key(), oldClassPath);
        }
      }
    
      private static boolean contentEquals(URL left, URL right) throws IOException {
        return Resources.asByteSource(left).contentEquals(Resources.asByteSource(right));
      }
    
      private static class Nested {}
    
    
      public void testNulls() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/pom.xml

                obvious way to ensure that.
    
                We could consider arranging things so that only the tests we know need this would get
                the add-opens. Right now that doesn't seem worth the effort, though.
            -->
            <test.add.opens>
              --add-opens java.base/java.lang=ALL-UNNAMED
              --add-opens java.base/java.util=ALL-UNNAMED
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap supports mapping removal, which removes the corresponding mapping from the map.
       * It does not support any operations which might add mappings, such as {@code put}, {@code
       * putAll} or {@code replaceValues}.
       *
       * <p>The returned multimap will be serializable if the specified map is serializable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

         *
         * (Currently it's safe to pass instances for which compareTo() always
         * returns 0, but if we had a SingletonImmutableSortedSet, this might no
         * longer be the case.)
         *
         * javax.naming.Name and java.util.concurrent.Delayed might work, but
         * they're fairly obscure, we've invented our own interface and class.
         */
        Interface a = new Impl();
        Interface b = new Impl();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<? extends V>... futures) {
        /*
         * Another way to express this signature would be to bound <V> by @NonNull and accept
         * LF<? extends @Nullable V>. That might be better: There's currently no difference between the
         * outputs users get when calling this with <Foo> and calling it with <@Nullable Foo>. The only
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

        @ParametricNullness private final V right;
    
        static <V extends @Nullable Object> ValueDifference<V> create(
            @ParametricNullness V left, @ParametricNullness V right) {
          return new ValueDifferenceImpl<>(left, right);
        }
    
        private ValueDifferenceImpl(@ParametricNullness V left, @ParametricNullness V right) {
          this.left = left;
          this.right = right;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top