Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for UnsignedInteger (0.25 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInteger.java

    @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);
    
      private final int value;
    
      private UnsignedInteger(int value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedInteger.java

    @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);
    
      private final int value;
    
      private UnsignedInteger(int value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

              UnsignedInteger.fromIntBits(a),
              UnsignedInteger.valueOf(value),
              UnsignedInteger.valueOf(Long.toString(value)),
              UnsignedInteger.valueOf(Long.toString(value, 16), 16));
        }
        equalsTester.testEquals();
      }
    
      public void testIntValue() {
        for (int a : TEST_INTS) {
          UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

              UnsignedInteger.fromIntBits(a),
              UnsignedInteger.valueOf(value),
              UnsignedInteger.valueOf(Long.toString(value)),
              UnsignedInteger.valueOf(Long.toString(value, 16), 16));
        }
        equalsTester.testEquals();
      }
    
      public void testIntValue() {
        for (int a : TEST_INTS) {
          UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import com.google.common.base.Functions;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.testing.ForwardingWrapperTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/package-info.java

     *
     * <h2>Contents</h2>
     *
     * <h3>Value types</h3>
     *
     * <ul>
     *   <li>{@link ImmutableDoubleArray}
     *   <li>{@link ImmutableIntArray}
     *   <li>{@link ImmutableLongrray}
     *   <li>{@link UnsignedInteger}
     *   <li>{@link UnsignedLong}
     * </ul>
     *
     * <h3>Per-type static utilities</h3>
     *
     * <ul>
     *   <li>{@link Booleans}
     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import com.google.common.base.Functions;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.testing.ForwardingWrapperTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/package-info.java

     *
     * <h2>Contents</h2>
     *
     * <h3>Value types</h3>
     *
     * <ul>
     *   <li>{@link ImmutableDoubleArray}
     *   <li>{@link ImmutableIntArray}
     *   <li>{@link ImmutableLongrray}
     *   <li>{@link UnsignedInteger}
     *   <li>{@link UnsignedLong}
     * </ul>
     *
     * <h3>Per-type static utilities</h3>
     *
     * <ul>
     *   <li>{@link Booleans}
     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Double.valueOf(0), ArbitraryInstances.get(double.class));
        assertEquals(Double.valueOf(0), ArbitraryInstances.get(Double.class));
        assertEquals(UnsignedInteger.ZERO, ArbitraryInstances.get(UnsignedInteger.class));
        assertEquals(UnsignedLong.ZERO, ArbitraryInstances.get(UnsignedLong.class));
        assertEquals(0, ArbitraryInstances.get(BigDecimal.class).intValue());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.1K bytes
    - Viewed (0)
Back to top