Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,944 for omap (0.04 sec)

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

      public void testEmptyBuilder() {
        ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
        assertEquals(Collections.<Integer, String>emptyMap(), map.inverse());
        assertSame(ImmutableBiMap.of(), map);
      }
    
      public void testSingletonBuilder() {
        ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).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)
  2. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

      }
    
      // Creates a replacement array from the given map. The returned array is a
      // linear lookup table of replacement character sequences indexed by the
      // original character value.
      @VisibleForTesting
      static char[][] createReplacementArray(Map<Character, String> map) {
        checkNotNull(map); // GWT specific check (do not optimize)
        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    
        public static Builder builder() {
            return new Builder();
        }
    
        public static class Builder {
            private final Map<Class<?>, Object> components = new HashMap<>();
    
            public ProtoLookup build() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         * Parses a sequence of XML elements and converts them to the appropriate {@link Map} type.
         *
         * @param parser The XML parser
         * @return Converted Map instance
         */
        private Map<String, Object> parseMap(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            @SuppressWarnings("unchecked")
            final Map<String, Object> map = newImplementation(parser, HashMap.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            return Optional.of(new DefaultPackaging(id, type, getPlugins(lifecycleMapping)));
        }
    
        private Map<String, PluginContainer> getPlugins(LifecycleMapping lifecycleMapping) {
            Map<String, PluginContainer> lfs = new HashMap<>();
            lifecycleMapping.getLifecycles().forEach((id, lifecycle) -> {
                Map<String, Plugin> plugins = new HashMap<>();
                lifecycle
                        .getLifecyclePhases()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         * @throws ModelParserException if the model cannot be parsed
         */
        @Nonnull
        Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException;
    
        /**
         * Locate and parse the model in the specified directory.
         * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}.
         *
         * @param dir the directory to locate the pom for, never {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. callbacks/helper.go

    package callbacks
    
    import (
    	"reflect"
    	"sort"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    // ConvertMapToValuesForCreate convert map to values
    func ConvertMapToValuesForCreate(stmt *gorm.Statement, mapValue map[string]interface{}) (values clause.Values) {
    	values.Columns = make([]clause.Column, 0, len(mapValue))
    	selectColumns, restricted := stmt.SelectAndOmitColumns(true, false)
    
    	keys := make([]string, 0, len(mapValue))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. cmd/site-replication-metrics.go

    	case st.Pending:
    	}
    	sr.M[dID] = srs
    }
    
    func (sr *SRStats) get() map[string]SRMetric {
    	epMap := globalBucketTargetSys.healthStats()
    
    	sr.lock.RLock()
    	defer sr.lock.RUnlock()
    	m := make(map[string]SRMetric, len(sr.M))
    	for dID, v := range sr.M {
    		t := newXferStats()
    		mx := make(map[RMetricName]XferStats)
    
    		if v.XferRateLrg != nil {
    			mx[Large] = *v.XferRateLrg.Clone()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        public boolean match(final Map<String, Object> map) {
    
            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
            final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(matchExpression, map);
            if (value instanceof Boolean) {
                return (Boolean) value;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top