Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,168 for isInteger (0.05 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        create().putAll(new HashMap<String, Integer>());
      }
    
      public void testKeySet() {
        Map<String, Integer> map = create();
        Set<String> keySet = map.keySet();
        assertTrue(keySet instanceof SynchronizedSet);
        assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex);
      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

        xLongs = new long[SAMPLE_SIZE];
        yLongs = new long[SAMPLE_SIZE];
        constant = new int[SAMPLE_SIZE];
        for (int i = 0; i < SAMPLE_SIZE; i++) {
          xInts[i] = random.nextInt(Integer.MAX_VALUE);
          yInts[i] = random.nextInt(Integer.MAX_VALUE);
          xLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK;
          yLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK;
          constant[i] = random.nextInt();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      }
    
      public static final class ExceptionWithoutThrowableConstructor extends Exception {
        public ExceptionWithoutThrowableConstructor(String s) {
          super(s);
        }
      }
    
      public static final class ExceptionWithWrongTypesConstructor extends Exception {
        public ExceptionWithWrongTypesConstructor(Integer i, String s) {
          super(s);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

         */
        public static Object convertPrimitiveWrapper(final Class<?> type, final Object o) {
            if (type == int.class) {
                final Integer i = IntegerConversionUtil.toInteger(o);
                if (i != null) {
                    return i;
                }
                return Integer.valueOf(0);
            } else if (type == double.class) {
                final Double d = DoubleConversionUtil.toDouble(o);
                if (d != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrHyper.java

     */
    
    package jcifs.dcerpc.ndr;
    
    /**
     * NDR representation of a hyper integer (8-byte signed integer).
     */
    public class NdrHyper extends NdrObject {
    
        /**
         * The hyper integer value.
         */
        public long value;
    
        /**
         * Constructs an NdrHyper with the specified value.
         *
         * @param value the hyper integer value
         */
        public NdrHyper(final long value) {
            this.value = value;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/ndr/NdrLong.java

     */
    
    package jcifs.dcerpc.ndr;
    
    /**
     * NDR representation of a long integer (4-byte signed integer).
     */
    public class NdrLong extends NdrObject {
    
        /**
         * The long integer value.
         */
        public int value;
    
        /**
         * Constructs an NdrLong with the specified value.
         *
         * @param value the long integer value
         */
        public NdrLong(final int value) {
            this.value = value;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TablesTransposeColumnTest.java

    @NullMarked
    public class TablesTransposeColumnTest extends ColumnTests {
      public TablesTransposeColumnTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        Table<Character, String, Integer> original = TreeBasedTable.create();
        return transpose(original);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(asList("foo", "bar", "dog"), asList(1, 2, 3));
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         * process based on the information contained in the request.
         *
         * @param invokerRequest the request containing all necessary information for the invocation
         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the invocation process.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        }
    
        @Override
        public int add(E element, int occurrences) {
          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.getOrDefault(element, 0);
          if (occurrences == 0) {
            return frequency;
          }
          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top