Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 877 for isInteger (0.04 sec)

  1. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("ggg");
            propDesc.setValue(myBean, Integer.valueOf(1));
            assertThat(myBean.getGgg(), is(new BigDecimal(1)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetTimestampValue() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
            newCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
          }
          if (newCapacity < 0) {
            newCapacity = Integer.MAX_VALUE;
            // guaranteed to be >= newCapacity
          }
          return newCapacity;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        for (int size : sizes) {
          Builder<Integer, Integer> builder = ImmutableMap.builderWithExpectedSize(size);
          for (int i = 0; i < size; i++) {
            Integer integer = i;
            builder.put(integer, integer);
          }
          ImmutableMap<Integer, Integer> map = builder.build();
          assertEquals(size, map.size());
          int entries = 0;
          for (Integer key : map.keySet()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals((Integer) 30, it.next());
        assertEquals((Integer) 40, it.next());
        // Skipping 20
        assertEquals((Integer) 11, it.next());
        // Not skipping 400, because it moved back down
        assertEquals((Integer) 400, it.next());
        assertEquals((Integer) 13, it.next());
        assertEquals((Integer) 200, it.next());
        assertEquals((Integer) 300, it.next());
        // Last from forgetMeNot.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers()));
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers()));
      }
    
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      // TODO(b/172823566): Use mainline testToImmutableSetMultimap once CollectorTester is usable.
      public void testToImmutableSetMultimap_java7_combine() {
        ImmutableSetMultimap.Builder<String, Integer> zis =
            ImmutableSetMultimap.<String, Integer>builder().put("a", 1).put("b", 2);
        ImmutableSetMultimap.Builder<String, Integer> zat =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

                }
    
                @Override
                public String getQueryFacetFieldsSize() {
                    return "10";
                }
    
                @Override
                public Integer getQueryFacetFieldsSizeAsInteger() {
                    return 10;
                }
    
                @Override
                public String getQueryFacetFieldsMinDocCount() {
                    return "5";
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

                }
    
                @Override
                public Integer getAsInteger(String propertyKey) {
                    return DfTypeUtil.toInteger(get(propertyKey));
                }
    
                public String getQueryDefaultQueryType() {
                    return "bool";
                }
    
                @Override
                public Integer getQueryPrefixExpansionsAsInteger() {
                    return 50;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

          return target instanceof Integer ? parent.lastIndexOf((Integer) target) : -1;
        }
    
        @Override
        public List<Integer> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        public Spliterator<Integer> spliterator() {
          return parent.spliterator();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      }
    
      public void testFailed() throws Exception {
        Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
        assertTrue(task.isDone());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top