Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Younes (0.18 sec)

  1. guava-tests/test/com/google/common/collect/FauxveridesTest.java

             */
            return bounds.equals(other.bounds);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
          return bounds.hashCode();
        }
    
        @Override
        public String toString() {
          return (bounds.equals(ImmutableList.of(Object.class)))
              ? name
              : name + " extends " + getTypesString(bounds);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

             */
            return bounds.equals(other.bounds);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
          return bounds.hashCode();
        }
    
        @Override
        public String toString() {
          return (bounds.equals(ImmutableList.of(Object.class)))
              ? name
              : name + " extends " + getTypesString(bounds);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
      private static final long[] ZERO_CUMULATIVE_COUNTS = {0};
    
      static final ImmutableSortedMultiset<?> NATURAL_EMPTY_MULTISET =
          new RegularImmutableSortedMultiset<>(Ordering.natural());
    
      @VisibleForTesting final transient RegularImmutableSortedSet<E> elementSet;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        int index = e.ordinal();
        int oldCount = counts[index];
        if (oldCount == 0) {
          return 0;
        } else if (oldCount <= occurrences) {
          counts[index] = 0;
          distinctElements--;
          size -= oldCount;
        } else {
          counts[index] = oldCount - occurrences;
          size -= occurrences;
        }
        return oldCount;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

      }
    
      private static Bounds every(Type[] bounds) {
        // Every bound must match. On any false, result is false.
        return new Bounds(bounds, false);
      }
    
      private static Bounds any(Type[] bounds) {
        // Any bound matches. On any true, result is true.
        return new Bounds(bounds, true);
      }
    
      private static class Bounds {
        private final Type[] bounds;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

      private static boolean isPermutation(List<?> first, List<?> second) {
        if (first.size() != second.size()) {
          return false;
        }
        ObjectCountHashMap<?> firstCounts = counts(first);
        ObjectCountHashMap<?> secondCounts = counts(second);
        if (first.size() != second.size()) {
          return false;
        }
        for (int i = 0; i < first.size(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

       * An {@code Integer} loader that returns the key for {@code load} requests, and increments the
       * old value on {@code reload} requests. The load counts are accessible via {@link #getLoadCount}
       * and {@link #getReloadCount}.
       */
      static class IncrementingLoader extends CacheLoader<Integer, Integer> {
        private final AtomicInteger countLoad = new AtomicInteger();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return delegate.create(elements);
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return delegate.createArray(length);
        }
      }
    
      /** Two bounds (from and to) define how to build a subMap. */
      public enum Bound {
        INCLUSIVE,
        EXCLUSIVE,
        NO_BOUND;
      }
    
      public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeRangeSet.java

           * complementLowerBoundWindow. Complement range lower bounds are either positive range upper
           * bounds, or Cut.belowAll().
           *
           * positiveItr starts at the first positive range with lower bound greater than
           * firstComplementRangeLowerBound. (Positive range lower bounds correspond to complement range
           * upper bounds.)
           */
          Collection<Range<C>> positiveRanges;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
Back to top