Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 220 for incomparable (0.08 sec)

  1. doc/go_spec.html

    []byte                       // does not implement comparable (slices cannot be compared)
    interface{}                  // does not implement comparable (see above)
    interface{ ~int | ~string }  // type parameter only: implements comparable (int, string types are strictly comparable)
    interface{ comparable }      // type parameter only: implements comparable (comparable implements itself)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return unsafeDelegateList((List) Arrays.asList(elements));
      }
    
      public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf(
          Iterable<? extends E> elements) {
        Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]);
        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeSet.java

     * @since 14.0
     */
    @GwtIncompatible // uses NavigableMap
    public class TreeRangeSet<C extends Comparable<?>> extends AbstractRangeSet<C>
        implements Serializable {
    
      @VisibleForTesting final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound;
    
      /** Creates an empty {@code TreeRangeSet} instance. */
      public static <C extends Comparable<?>> TreeRangeSet<C> create() {
        return new TreeRangeSet<>(new TreeMap<Cut<C>, Range<C>>());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Version.java

     * @see org.apache.maven.api.Session#parseVersion(String)
     * @see VersionConstraint
     * @see VersionRange
     */
    @Experimental
    public interface Version extends Comparable<Version> {
        /**
         * {@return the string representation of this version}
         */
        @Nonnull
        @Override
        String toString();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return insertionOrder;
        }
      }
    
      public static class ImmutableSortedSetExplicitSuperclassComparatorGenerator
          extends TestStringSetGenerator {
    
        private static final Comparator<Comparable<?>> COMPARABLE_REVERSED = Collections.reverseOrder();
    
        @Override
        protected SortedSet<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.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 MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard(
          MinMaxPriorityQueue.Builder<Comparable> builder) {
        return (MinMaxPriorityQueue.Builder) builder;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            FileBasicInfo info = response.getInfo(FileBasicInfo.class);
            assertNotNull(info);
            assertTrue(info instanceof FileBasicInfo);
        }
    
        @Test
        @DisplayName("Test getInfo with incompatible type throws CIFSException")
        void testGetInfoWithIncompatibleType() throws Exception {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         * @param <T> the type of the decoded response data
         * @param responseType the class of the expected response type
         * @return decoded data
         * @throws SmbException if decoding fails or the response type is incompatible
         */
        @SuppressWarnings("unchecked")
        public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException {
    
            final Decodable out = getOutputData();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top