Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,414 for Integer (0.06 sec)

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

      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testFilterUsingIteratorTester() {
        final List<Integer> list = asList(1, 2, 3, 4, 5);
        final Predicate<Integer> isEven =
            new Predicate<Integer>() {
              @Override
              public boolean apply(Integer integer) {
                return integer % 2 == 0;
              }
            };
        new IteratorTester<Integer>(
            5, UNMODIFIABLE, asList(2, 4), IteratorTester.KnownOrder.KNOWN_ORDER) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              for (Range<Integer> subRange : RANGES) {
                ImmutableRangeMap<Integer, Integer> rangeMap =
                    ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build();
    
                ImmutableRangeMap.Builder<Integer, Integer> expectedBuilder =
                    ImmutableRangeMap.builder();
                for (Entry<Range<Integer>, Integer> entry : rangeMap.asMapOfRanges().entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/app/pager/DataConfigPagerTest.java

            assertEquals(1, dataconfigpager.getCurrentPageNumber());
            dataconfigpager.setCurrentPageNumber(999);
            assertEquals(999, dataconfigpager.getCurrentPageNumber());
            List<Integer> pageNumberList = new ArrayList<Integer>(1);
            dataconfigpager.setPageNumberList(pageNumberList);
            assertEquals(pageNumberList, dataconfigpager.getPageNumberList());
            assertEquals(25, dataconfigpager.getDefaultPageSize());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                endOfData();
                throw new SomeUncheckedException();
              }
            };
        assertThrows(SomeUncheckedException.class, iter::hasNext);
      }
    
      public void testCantRemove() {
        Iterator<Integer> iter =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        }
        Set<Entry<Integer, Integer>> entries = bimap.entrySet();
        for (Entry<Integer, Integer> entry : entries) {
          entry.setValue(entry.getValue() + 2 * N);
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i));
        }
      }
    
      public void testBiMapEntrySetIteratorRemove() {
        BiMap<Integer, String> map = HashBiMap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        ImmutableBiMap.Builder<Integer, Integer> builder = ImmutableBiMap.builderWithExpectedSize(10);
        Entry<Integer, Integer>[] builderArray = builder.entries;
        for (int i = 0; i < 10; i++) {
          builder.put(i, i);
        }
        Entry<Integer, Integer>[] builderArrayAfterPuts = builder.entries;
        RegularImmutableBiMap<Integer, Integer> map =
            (RegularImmutableBiMap<Integer, Integer>) builder.build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Entry<Integer, Integer>[] builderArray = builder.entries;
        for (int i = 0; i < 10; i++) {
          builder.put(i, i);
        }
        Entry<Integer, Integer>[] builderArrayAfterPuts = builder.entries;
        RegularImmutableMap<Integer, Integer> map =
            (RegularImmutableMap<Integer, Integer>) builder.buildOrThrow();
        Entry<Integer, Integer>[] mapInternalArray = map.entries;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsFileConfig.java

            this.permissions = value;
        }
    
        public Integer getSortOrder() {
            checkSpecifiedProperty("sortOrder");
            return sortOrder;
        }
    
        public void setSortOrder(Integer value) {
            registerModifiedProperty("sortOrder");
            this.sortOrder = value;
        }
    
        public Integer getTimeToLive() {
            checkSpecifiedProperty("timeToLive");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top