Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 575 for comparable (0.16 sec)

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

    @ElementTypesAreNonnullByDefault
    public final class Range<C extends Comparable> extends RangeGwtSerializationDependencies
        implements Predicate<C>, Serializable {
      @SuppressWarnings("unchecked")
      static <C extends Comparable<?>> Ordering<Range<C>> rangeLexOrdering() {
        return (Ordering<Range<C>>) RangeLexOrdering.INSTANCE;
      }
    
      static <C extends Comparable<?>> Range<C> create(Cut<C> lowerBound, Cut<C> upperBound) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

        }
      }
    
      /**
       * Compares two comparable objects as specified by {@link Comparable#compareTo}, <i>if</i> the
       * result of this comparison chain has not already been determined.
       *
       * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a
       * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutually
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. api/next/62483.txt

    pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483
    pkg unique, method (Handle[$0]) Value() $0 #62483
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Apr 22 18:14:07 GMT 2024
    - 162 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
          MultimapBuilderWithKeys<Comparable> treeKeys) {
        return (MultimapBuilderWithKeys) treeKeys;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "Comparable fixture must be thirdobject delivered.", compEvent, objectEvents.get(2));
    
        // Check the Catcher<Comparable<?>>...
        assertEquals("Two Comparable<?>s should be delivered.", 2, compEvents.size());
        assertEquals("String fixture must be first comparable delivered.", EVENT, compEvents.get(0));
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "Comparable fixture must be thirdobject delivered.", compEvent, objectEvents.get(2));
    
        // Check the Catcher<Comparable<?>>...
        assertEquals("Two Comparable<?>s should be delivered.", 2, compEvents.size());
        assertEquals("String fixture must be first comparable delivered.", EVENT, compEvents.get(0));
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

        private Integer buildNumber;
    
        private String qualifier;
    
        private ComparableVersion comparable;
    
        public DefaultArtifactVersion(String version) {
            parseVersion(version);
        }
    
        @Override
        public int hashCode() {
            return 11 + comparable.hashCode();
        }
    
        @Override
        public boolean equals(Object other) {
            if (this == other) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeBasedTable.java

       *
       * <p>The method signature specifies {@code R extends Comparable} with a raw {@link Comparable},
       * instead of {@code R extends Comparable<? super R>}, and the same for {@code C}. That's
       * necessary to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <R extends Comparable, C extends Comparable, V> TreeBasedTable<R, C, V> create() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of() {
        return ImmutableSortedSet.of();
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of(E e) {
        return ImmutableSortedSet.of(e);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of(E e1, E e2) {
        return ImmutableSortedSet.of(e1, e2);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

    /**
     * An empty contiguous set.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    final class EmptyContiguousSet<C extends Comparable> extends ContiguousSet<C> {
      EmptyContiguousSet(DiscreteDomain<C> domain) {
        super(domain);
      }
    
      @Override
      public C first() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 28 18:35:00 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top