Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,395 for INTEGER (0.04 sec)

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

          } else {
            return first.compareTo(second);
          }
        }
      }
    
      /** Decreasing integer values. A {@code null} comes before any non-null value. */
      private static final Comparator<@Nullable Integer> DECREASING_INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().<Integer>nullsFirst();
    
      private SetMultimap<String, Integer> create() {
        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<Integer> result =
            Iterables.transform(
                input,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        List<Integer> actual = newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    type string string
    
    // int is a signed integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, int32.
    type int int
    
    // uint is an unsigned integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, uint32.
    type uint uint
    
    // uintptr is an integer type that is large enough to hold the bit pattern of
    // any pointer.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top