Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,886 for omap (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

            "A List should never equal a Map.", getMap().equals(copyToList(getMap().entrySet())));
      }
    
      private static <K, V> Map<K, V> newHashMap(
          Collection<? extends Entry<? extends K, ? extends V>> entries) {
        HashMap<K, V> map = new HashMap<>();
        for (Entry<? extends K, ? extends V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        return map;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
            assertTrue(map.size() == 2, "Set size should be 2, is " + map.size());
    
            assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

        @Test
        public void testMethodParameterType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Method method = Hoge.class.getMethod("foo", Set.class, Map.class);
            ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map);
            assertThat(desc.getRawClass(), is(sameClass(Set.class)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Number> map =
            ImmutableTypeToInstanceMap.<Number>builder()
                .put(Integer.class, 0)
                .put(int.class, 1)
                .build();
        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(Integer.class));
        assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class)));
        assertEquals(1, (int) map.getInstance(int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. schema/schema.go

    	schema := &Schema{
    		Name:             modelType.Name(),
    		ModelType:        modelType,
    		Table:            tableName,
    		FieldsByName:     map[string]*Field{},
    		FieldsByBindName: map[string]*Field{},
    		FieldsByDBName:   map[string]*Field{},
    		Relationships:    Relationships{Relations: map[string]*Relationship{}},
    		cacheStore:       cacheStore,
    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/MapIteratorCache.java

     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
       * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after
       * the entry was returned by the iterator, except through the setValue operation on the map entry"
       * As such, this field must be cleared before every map mutation.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

            // Test: update settings api
            final Map<String, Object> updateMap = getUpdateMap();
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<Map<String, Object>> settings = getItemList(searchBody);
    
            for (Map<String, Object> setting : settings) {
                final Map<String, Object> requestBody = new HashMap<>(updateMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            // from config
            final String scriptType = crawlingConfig.getScriptType();
            final Map<String, String> scriptConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.SCRIPT);
            final Map<String, String> metaConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.META);
            for (final Map.Entry<String, String> entry : metaConfigMap.entrySet()) {
                final String key = entry.getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        }
    
        @Override
        public Map<R, V> column(C columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.column(columnKey);
        }
    
        @Override
        public Set<C> columnKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnKeySet();
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. schema/field_test.go

    	)
    
    	// test valuer
    	values := map[string]interface{}{
    		"name":       user.Name,
    		"id":         user.ID,
    		"created_at": user.CreatedAt,
    		"deleted_at": user.DeletedAt,
    		"age":        user.Age,
    		"birthday":   user.Birthday,
    		"active":     true,
    	}
    	checkField(t, userSchema, reflectValue, values)
    
    	// test setter
    	newValues := map[string]interface{}{
    		"name":       "valuer_and_setter_2",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top