Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for tool (0.13 sec)

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

       *
       * <p>Note that this function is necessarily well-defined for any discrete type.
       *
       * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if
       *     the distance is too small or too large, respectively.
       */
      public abstract long distance(C start, C end);
    
      /**
       * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

    /** Tests for {@link AbstractSequentialIterator}. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class AbstractSequentialIteratorTest extends TestCase {
      @GwtIncompatible // Too slow
      public void testDoublerExhaustive() {
        new IteratorTester<Integer>(
            3, UNMODIFIABLE, ImmutableList.of(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      @GwtIncompatible // too slow
      public void testCombinationsExhaustively_startingFromExplicit() {
        testExhaustively(Ordering.explicit("a", "b", "c", "d"), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
      public void testCombinationsExhaustively_startingFromUsingToString() {
        testExhaustively(Ordering.usingToString(), 1, 12, 2);
      }
    
      @GwtIncompatible // too slow
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      @GwtIncompatible // too slow
      public void testCombinationsExhaustively_startingFromExplicit() {
        testExhaustively(Ordering.explicit("a", "b", "c", "d"), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
      public void testCombinationsExhaustively_startingFromUsingToString() {
        testExhaustively(Ordering.usingToString(), 1, 12, 2);
      }
    
      @GwtIncompatible // too slow
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

                    + expected
                    + ", actual = "
                    + actual);
          }
        }
    
        if (expectedIter.hasNext() || actualIter.hasNext()) {
          // actual either had too few or too many elements
          Assert.fail(
              "contents were not equal and in the same order: "
                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * as necessary when the method is expected to return (at the cost of hanging forever if there is
       * a bug in the class under test) but that we time out fairly promptly when the method is expected
       * to hang (possibly too quickly, but too-quick failures should be very unlikely, given that we
       * used to bail after 20ms during the expected-successful tests, and there we saw a failure rate
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

     */
    // TODO(kak): Consider removing @CanIgnoreReturnValue from this class.
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings({
      "GuardedBy", // TODO(b/35466881): Fix or suppress.
      "nullness", // too much trouble for the payoff
    })
    // TODO(cpovirk): Annotate for nullness.
    class MapMakerInternalMap<
            K,
            V,
            E extends MapMakerInternalMap.InternalEntry<K, V, E>,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

      }
    
      private static final class PowerSet<E> extends AbstractSet<Set<E>> {
        final ImmutableMap<E, Integer> inputSet;
    
        PowerSet(Set<E> input) {
          checkArgument(
              input.size() <= 30, "Too many elements to create power set: %s > 30", input.size());
          this.inputSet = Maps.indexMap(input);
        }
    
        @Override
        public int size() {
          return 1 << inputSet.size();
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Iterators.all(list.iterator(), predicate));
        list.add("pants");
        assertFalse(Iterators.all(list.iterator(), predicate));
      }
    
      public void testFind_firstElement() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
        assertEquals("pants", iterator.next());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> list = newArrayList("cool", "pants");
        assertEquals("cool", Iterables.find(list, Predicates.equalTo("cool")));
        assertEquals("pants", Iterables.find(list, Predicates.equalTo("pants")));
        try {
          Iterables.find(list, Predicates.alwaysFalse());
          fail();
        } catch (NoSuchElementException e) {
        }
        assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
Back to top