Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for UnsignedInteger (0.4 sec)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          ImmutableClassToInstanceMap.builder()
              // primitives
              .put(Object.class, "")
              .put(Number.class, 0)
              .put(UnsignedInteger.class, UnsignedInteger.ZERO)
              .put(UnsignedLong.class, UnsignedLong.ZERO)
              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          ImmutableClassToInstanceMap.builder()
              // primitives
              .put(Object.class, "")
              .put(Number.class, 0)
              .put(UnsignedInteger.class, UnsignedInteger.ZERO)
              .put(UnsignedLong.class, UnsignedLong.ZERO)
              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(double.class)).isEqualTo(Double.valueOf(0));
        assertThat(ArbitraryInstances.get(Double.class)).isEqualTo(Double.valueOf(0));
        assertEquals(UnsignedInteger.ZERO, ArbitraryInstances.get(UnsignedInteger.class));
        assertEquals(UnsignedLong.ZERO, ArbitraryInstances.get(UnsignedLong.class));
        assertEquals(0, ArbitraryInstances.get(BigDecimal.class).intValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      Boolean generateBooleanObject() {
        return new Boolean(generateBoolean());
      }
    
      @Generates
      UnsignedInteger generateUnsignedInteger() {
        return UnsignedInteger.fromIntBits(generateInt());
      }
    
      @Generates
      UnsignedLong generateUnsignedLong() {
        return UnsignedLong.fromLongBits(generateLong());
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      Boolean generateBooleanObject() {
        return new Boolean(generateBoolean());
      }
    
      @Generates
      UnsignedInteger generateUnsignedInteger() {
        return UnsignedInteger.fromIntBits(generateInt());
      }
    
      @Generates
      UnsignedLong generateUnsignedLong() {
        return UnsignedLong.fromLongBits(generateLong());
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

     * number.
     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
     * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper
     * class be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInts.java

     * number.
     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
     * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper
     * class be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top