Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RegularContiguousSet (0.27 sec)

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

      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        } else if (object instanceof RegularContiguousSet) {
          RegularContiguousSet<?> that = (RegularContiguousSet<?>) object;
          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        reserializeAndAssert(empty);
    
        ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers());
        assertTrue(regular instanceof RegularContiguousSet);
        reserializeAndAssert(regular);
    
        /*
         * Make sure that we're using RegularContiguousSet.SerializedForm and not
         * ImmutableSet.SerializedForm, which would be enormous.
         */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        reserializeAndAssert(empty);
    
        ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers());
        assertTrue(regular instanceof RegularContiguousSet);
        reserializeAndAssert(regular);
    
        /*
         * Make sure that we're using RegularContiguousSet.SerializedForm and not
         * ImmutableSet.SerializedForm, which would be enormous.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ContiguousSet.java

          // Per class spec, we are allowed to throw CCE if necessary
          empty = Range.compareOrThrow(afterLower, beforeUpper) > 0;
        }
    
        return empty
            ? new EmptyContiguousSet<C>(domain)
            : new RegularContiguousSet<C>(effectiveRange, domain);
      }
    
      /**
       * Returns a nonempty contiguous set containing all {@code int} values from {@code lower}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ContiguousSet.java

          // Per class spec, we are allowed to throw CCE if necessary
          empty = Range.compareOrThrow(afterLower, beforeUpper) > 0;
        }
    
        return empty
            ? new EmptyContiguousSet<C>(domain)
            : new RegularContiguousSet<C>(effectiveRange, domain);
      }
    
      /**
       * Returns a nonempty contiguous set containing all {@code int} values from {@code lower}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top