Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,395 for INTEGER (0.12 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

      }
    
      public void testMissingException() {
        List<Integer> emptyList = newArrayList();
    
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
                1, MODIFIABLE, emptyList, IteratorTester.KnownOrder.KNOWN_ORDER) {
              @Override
              protected Iterator<Integer> newTargetIterator() {
                return new Iterator<Integer>() {
                  @Override
                  public void remove() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> zis =
            ImmutableListMultimap.<String, Integer>builder().put("a", 1).put("b", 2);
        ImmutableListMultimap.Builder<String, Integer> zat =
            ImmutableListMultimap.<String, Integer>builder().put("a", 3).put("c", 4);
        ImmutableListMultimap<String, Integer> multimap = zis.combine(zat).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          extends TestFilteredMultimapGenerator<SetMultimap<String, Integer>>
          implements TestSetMultimapGenerator<String, Integer> {
    
        abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap);
    
        @Override
        public SetMultimap<String, Integer> create(Object... elements) {
          SetMultimap<String, Integer> multimap = LinkedHashMultimap.create();
          for (Object o : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, Integer.valueOf(5)));
    
        Integer oldValue = map.putInstance(Integer.class, Integer.valueOf(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
        assertEquals(7, (int) newValue);
        assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. tests/test_param_in_path_and_dependency.py

                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "User Id", "type": "integer"},
                                "name": "user_id",
                                "in": "path",
                            },
                        ],
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDataConfigCQ.java

            return this;
        }
    
        public void setSortOrder_Equal(Integer sortOrder) {
            setSortOrder_Term(sortOrder, null);
        }
    
        public void setSortOrder_Equal(Integer sortOrder, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setSortOrder_Term(sortOrder, opLambda);
        }
    
        public void setSortOrder_Term(Integer sortOrder) {
            setSortOrder_Term(sortOrder, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 108.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

            };
    
        LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().build(loader);
    
        cache.put(10, 20);
    
        Map<Integer, Integer> map = cache.getAll(ImmutableList.of(10, 20, 30, 54, 443, 1));
    
        assertEquals(Integer.valueOf(20), map.get(10));
        assertEquals(Integer.valueOf(0), map.get(20));
        assertEquals(Integer.valueOf(1), map.get(30));
        assertEquals(Integer.valueOf(2), map.get(54));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testTransformValues() {
        SetMultimap<String, Integer> multimap =
            ImmutableSetMultimap.of("a", 2, "b", -3, "b", 3, "a", 4, "c", 6);
        Function<Integer, Integer> square =
            new Function<Integer, Integer>() {
              @Override
              public Integer apply(Integer in) {
                return in * in;
              }
            };
        Multimap<String, Integer> transformed = Multimaps.transformValues(multimap, square);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top