Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 163 for Comparable (0.16 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        // This is the only ordering for primitives that does not have a
        // corresponding Comparable wrapper in java.lang.
        for (int i = 0; i < VALUES.length; i++) {
          for (int j = 0; j < VALUES.length; j++) {
            byte x = VALUES[i];
            byte y = VALUES[j];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeSet.java

     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface RangeSet<C extends Comparable> {
      // TODO(lowasser): consider adding default implementations of some of these methods
    
      // Query methods
    
      /** Determines whether any of this range set's member ranges contains {@code value}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
      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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
      private static final class MethodSignature implements Comparable<MethodSignature> {
        final String name;
        final List<Class<?>> parameterTypes;
        final TypeSignature typeSignature;
    
        MethodSignature(Method method) {
          name = method.getName();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
      private static final class MethodSignature implements Comparable<MethodSignature> {
        final String name;
        final List<Class<?>> parameterTypes;
        final TypeSignature typeSignature;
    
        MethodSignature(Method method) {
          name = method.getName();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInteger.java

     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInteger extends Number implements Comparable<UnsignedInteger> {
      public static final UnsignedInteger ZERO = fromIntBits(0);
      public static final UnsignedInteger ONE = fromIntBits(1);
      public static final UnsignedInteger MAX_VALUE = fromIntBits(-1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInteger.java

     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInteger extends Number implements Comparable<UnsignedInteger> {
      public static final UnsignedInteger ZERO = fromIntBits(0);
      public static final UnsignedInteger ONE = fromIntBits(1);
      public static final UnsignedInteger MAX_VALUE = fromIntBits(-1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLong.java

     *
     * @author Louis Wasserman
     * @author Colin Evans
     * @since 11.0
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong>, Serializable {
    
      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

    final class GeneralRange<T extends @Nullable Object> implements Serializable {
      /** Converts a Range to a GeneralRange. */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedLong.java

     *
     * @author Louis Wasserman
     * @author Colin Evans
     * @since 11.0
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong>, Serializable {
    
      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
Back to top