Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for Difference (0.17 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

          SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
          return difference(sortedLeft, right);
        }
        return difference(left, right, Equivalence.equals());
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
       * of the maps at the time this method is called. It will never change, even if the maps change at
       * a later time.
       *
    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)
  3. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

      private static final double ALLOWED_ERROR = 1.0e-10;
      private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING;
      private static final Set<QuantilesAlgorithm> NON_REFERENCE_ALGORITHMS =
          Sets.difference(
              ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM));
    
      private double[] dataset;
    
      @Override
      protected void setUp() {
        dataset = new double[DATASET_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
              .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of()))
              .put(
                  SortedMapDifference.class,
                  Maps.difference(ImmutableSortedMap.of(), ImmutableSortedMap.of()))
              // reflect
              .put(AnnotatedElement.class, Object.class)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
              .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of()))
              .put(
                  SortedMapDifference.class,
                  Maps.difference(ImmutableSortedMap.of(), ImmutableSortedMap.of()))
              // reflect
              .put(AnnotatedElement.class, Object.class)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedSetTest.java

     *
     * @author Mike Bostock
     */
    public class SynchronizedSetTest extends TestCase {
    
      public static final Object MUTEX = new Integer(1); // something Serializable
    
      // TODO(cpovirk): Resolve difference between branches in their choice of mutex:
      // - The mainline uses `null` (even since the change in cl/99720576 was integrated).
      // - The backport continued to use MUTEX.
      public static Test suite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns a new range set consisting of the difference of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code TreeRangeSet.create(this).removeAll(other)} except it
       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> difference(RangeSet<C> other) {
        RangeSet<C> copy = TreeRangeSet.create(this);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns a new range set consisting of the difference of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code TreeRangeSet.create(this).removeAll(other)} except it
       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> difference(RangeSet<C> other) {
        RangeSet<C> copy = TreeRangeSet.create(this);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.openClosed(3, 4))
                .add(Range.open(8, 10))
                .add(Range.openClosed(15, 17))
                .build();
    
        assertThat(RANGE_SET_ONE.difference(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testAsSet() {
        ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

                          Iterators.transform(
                              // filter out 'node' from successors (already covered by predecessors,
                              // above)
                              Sets.difference(graph.successors(node), ImmutableSet.of(node)).iterator(),
                              (N successor) -> EndpointPair.ordered(node, successor))));
                } else {
                  return Iterators.unmodifiableIterator(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top