Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Explain (0.16 sec)

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

    import java.util.Iterator;
    
    /** An ordering that uses the reverse of the natural order of the values. */
    @GwtCompatible(serializable = true)
    @SuppressWarnings({"unchecked", "rawtypes"}) // TODO(kevinb): the right way to explain this??
    @ElementTypesAreNonnullByDefault
    final class ReverseNaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering();
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/NaturalOrdering.java

    /** An ordering that uses the natural order of the values. */
    @GwtCompatible(serializable = true)
    @SuppressWarnings({"unchecked", "rawtypes"}) // TODO(kevinb): the right way to explain this??
    @ElementTypesAreNonnullByDefault
    final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final NaturalOrdering INSTANCE = new NaturalOrdering();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ReverseOrdering.java

      }
    
      @Override
      public int compare(@ParametricNullness T a, @ParametricNullness T b) {
        return forwardOrder.compare(b, a);
      }
    
      @SuppressWarnings("unchecked") // how to explain?
      @Override
      public <S extends T> Ordering<S> reverse() {
        return (Ordering<S>) forwardOrder;
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/NullsFirstOrdering.java

        // ordering.reverse() might be optimized, so let it do its thing
        return ordering.<T>reverse().<@NonNull S>nullsLast();
      }
    
      @SuppressWarnings("unchecked") // still need the right way to explain this
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() {
        return (Ordering<@Nullable S>) this;
      }
    
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsLast() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 27 16:03:47 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    at least I know who I WAS when I got up this morning, but I think
    I must have been changed several times since then.'
    
      `What do you mean by that?' said the Caterpillar sternly.
    `Explain yourself!'
    
      `I can't explain MYSELF, I'm afraid, sir' said Alice, `because
    I'm not myself, you see.'
    
      `I don't see,' said the Caterpillar.
    
      `I'm afraid I can't put it more clearly,' Alice replied very
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NullsLastOrdering.java

      }
    
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() {
        return ordering.<@NonNull S>nullsFirst();
      }
    
      @SuppressWarnings("unchecked") // still need the right way to explain this
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsLast() {
        return (Ordering<@Nullable S>) this;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 27 16:03:47 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    at least I know who I WAS when I got up this morning, but I think
    I must have been changed several times since then.'
    
      `What do you mean by that?' said the Caterpillar sternly.
    `Explain yourself!'
    
      `I can't explain MYSELF, I'm afraid, sir' said Alice, `because
    I'm not myself, you see.'
    
      `I don't see,' said the Caterpillar.
    
      `I'm afraid I can't put it more clearly,' Alice replied very
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Java 8+ users:</b> use {@link Comparator#naturalOrder} instead.
       */
      @GwtCompatible(serializable = true)
      @SuppressWarnings({"unchecked", "rawtypes"})
      // TODO(kevinb): right way to explain this??
      // plus https://github.com/google/guava/issues/989
      public static <C extends Comparable> Ordering<C> natural() {
        return (Ordering<C>) NaturalOrdering.INSTANCE;
      }
    
      // Static factories
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top