Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Morard (0.15 sec)

  1. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      private final transient ImmutableSortedMultiset<E> forward;
    
      DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) {
        this.forward = forward;
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        return forward.count(element);
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      private final transient ImmutableSortedMultiset<E> forward;
    
      DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) {
        this.forward = forward;
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        return forward.count(element);
      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testPowerSetEquals_independentOfOrder() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3, 4);
        Set<Set<Integer>> forward = powerSet(elements);
        Set<Set<Integer>> reverse = powerSet(ImmutableSet.copyOf(elements.asList().reverse()));
        new EqualsTester().addEqualityGroup(forward, reverse).testEquals();
      }
    
      /**
       * Test that a hash code miscomputed by "input.hashCode() * tooFarValue / 2" is correct under our
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

      // algorithm would lead to an overflow.
    
      static boolean fitsInInt(long x) {
        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LegacyComparable.java

      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = Arrays.asList(X, Y, Z);
      static final Iterable<LegacyComparable> VALUES_BACKWARD = Arrays.asList(Z, Y, X);
    
      private final String value;
    
      LegacyComparable(String value) {
        this.value = value;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

     *       the {@link #from from} factory method.
     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
    
        private List<Multiset.Entry<E>> snapshot() {
          List<Multiset.Entry<E>> list = Lists.newArrayListWithExpectedSize(size());
          // Not Iterables.addAll(list, this), because that'll forward right back here.
          Iterators.addAll(list, iterator());
          return list;
        }
      }
    
      /** @serialData the ConcurrentMap of elements and their counts. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top