Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,397 for isInteger (0.08 sec)

  1. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class);
      }
    
      public void testUnwrap() {
        assertThat(Primitives.unwrap(Integer.class)).isSameInstanceAs(int.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
      public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
      public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

    @ElementTypesAreNonnullByDefault
    public class SortedListsTest extends TestCase {
      private static final ImmutableList<Integer> LIST_WITH_DUPS =
          ImmutableList.of(1, 1, 2, 4, 4, 4, 8);
    
      private static final ImmutableList<Integer> LIST_WITHOUT_DUPS = ImmutableList.of(1, 2, 4, 8);
    
      void assertModelAgrees(
          List<Integer> list,
          Integer key,
          int answer,
          KeyPresentBehavior presentBehavior,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java

      }
    
      @Override
      final void addNode(Integer n) {
        graphBuilder.addNode(n);
        graph = graphBuilder.build();
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
        graphBuilder.putEdge(n1, n2);
        graph = graphBuilder.build();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

      }
    
      @Override
      final void addNode(Integer n) {
        graphBuilder.addNode(n);
        graph = graphBuilder.build();
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
        graphBuilder.putEdge(n1, n2);
        graph = graphBuilder.build();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

        private static final Logger logger = LoggerFactory.getLogger(ApiExtractor.class);
    
        protected String url;
    
        protected Integer accessTimeout; // sec
    
        protected CloseableHttpClient httpClient;
    
        protected Integer connectionTimeout;
    
        protected Integer soTimeout;
    
        protected Map<String, AuthSchemeProvider> authSchemeProviderMap;
    
        protected String userAgent = "Crawler";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        int scale = Integer.MAX_VALUE;
        int otherIndex = (Integer.MAX_VALUE - 1) / 3; // this divides exactly
        // For the otherIndex calculation, we have q=Integer.MAX_VALUE, k=(Integer.MAX_VALUE-1)/3, and
        // N=16. Therefore k*(N-1)/q = 5-5/Integer.MAX_VALUE, which has floor 4 and fractional part
        // (1-5/Integer.MAX_VALUE).
        double otherValue = 16.0 * 5.0 / Integer.MAX_VALUE + 25.0 * (1.0 - 5.0 / Integer.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null);
            assertEquals(Integer.MAX_VALUE, problem.getLineNumber());
    
            // this case is not specified, might also return -1
            problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null);
            assertEquals(Integer.MIN_VALUE, problem.getLineNumber());
        }
    
        @Test
        void testGetColumnNumber() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

        @Override
        public Integer load(Integer key) {
          countLoad.incrementAndGet();
          return key;
        }
    
        @GwtIncompatible // reload
        @Override
        public ListenableFuture<Integer> reload(Integer key, Integer oldValue) {
          countReload.incrementAndGet();
          return immediateFuture(oldValue + 1);
        }
    
        public int getLoadCount() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top