Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,110 for isInteger (1.21 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              new Callable<Integer>() {
                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
      private static final EndpointPair<Integer> ENDPOINTS_N1N2 = EndpointPair.ordered(N1, N2);
      private static final EndpointPair<Integer> ENDPOINTS_N2N1 = EndpointPair.ordered(N2, N1);
    
      @After
      public void validateUndirectedEdges() {
        for (Integer node : network.nodes()) {
          new EqualsTester()
              .addEqualityGroup(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/InternersTest.java

      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

                try {
                    this.smbConnectionTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.soTimeout");
            if (value != null) {
                try {
                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RegularImmutableMapMapInterfaceTest.java

    @GwtCompatible
    @NullUnmarked
    public class RegularImmutableMapMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makeEmptyMap() {
        return ImmutableMap.of();
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top