Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Comparable (0.07 sec)

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

       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass keys of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object, Comparable, Object, Comparable, Object,
       *     Comparable, Object, Comparable, Object)}.</b>
       */
      @DoNotCall("Pass keys of type Comparable")
      @Deprecated
      public static <K, V> ImmutableSortedMap<K, V> of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass keys of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object, Comparable, Object, Comparable, Object,
       *     Comparable, Object, Comparable, Object)}.</b>
       */
      @DoNotCall("Pass keys of type Comparable")
      @Deprecated
      public static <K, V> ImmutableSortedMap<K, V> of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       */
      @SuppressWarnings({
        "rawtypes", // https://github.com/google/guava/issues/989
        "NonApiType", // acts as a direct substitute for a constructor call
      })
      public static <E extends Comparable> TreeSet<E> newTreeSet() {
        return new TreeSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code TreeSet} instance containing the given elements sorted by their
       * natural ordering.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Integer.class, f.resolveType(Function.class.getTypeParameters()[1]).getType());
        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Integer.class, f.resolveType(Function.class.getTypeParameters()[1]).getType());
        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top