Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Wright (0.5 sec)

  1. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     * annotated with LargeTest.
     *
     * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}?
     * I'm not completely sure that this is the right choice, but it has various advantages:
     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
     *       suppression. This would follow the precedent of many of our annotation processors, which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Double[] concat(Double[] left, Double[] right) {
        Double[] result = new Double[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ByFunctionOrdering.java

        this.function = checkNotNull(function);
        this.ordering = checkNotNull(ordering);
      }
    
      @Override
      public int compare(@ParametricNullness F left, @ParametricNullness F right) {
        return ordering.compare(function.apply(left), function.apply(right));
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ByFunctionOrdering) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompoundOrdering.java

      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompoundOrdering.java

      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/ElementOrderTest.java

            new Comparator<NonComparableSuperClass>() {
              @Override
              public int compare(NonComparableSuperClass left, NonComparableSuperClass right) {
                return left.value.compareTo(right.value);
              }
            };
    
        MutableGraph<NonComparableSuperClass> graph =
            GraphBuilder.undirected().nodeOrder(ElementOrder.sorted(comparator)).build();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/TestingWeighers.java

        return new ConstantWeigher(constant);
      }
    
      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
      /** Returns a {@link Weigher} that uses the integer value as the weight. */
      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // Test that listeners added both before and after the value is available
        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
          // Right in the middle start up a thread to close the latch.
          if (i == 10) {
            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top