Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 2,308 for xmap (0.02 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      public SafeTreeMap(Comparator<? super K> comparator) {
        this(new TreeMap<K, V>(comparator));
      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      private SafeTreeMap(NavigableMap<K, V> delegate) {
        this.delegate = delegate;
        if (delegate == null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                    .map(org.apache.maven.toolchain.model.ToolchainModel::getDelegate)
                    .toList();
        }
    
        @Nonnull
        @Override
        public Map<String, String> getUserProperties() {
            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getUserProperties()));
        }
    
        @Nonnull
        @Override
        public Map<String, String> getSystemProperties() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            fun wrap(a: kotlin.collections.Set<String>, b: kotlin.collections.HashSet<String>, c: kotlin.collections.LinkedHashSet<String>): Unit = Unit
    
            fun wrap(a: kotlin.collections.Map<String, String>, b: kotlin.collections.Map.Entry<String, String>): Unit = Unit
    
            fun wrap(a: kotlin.collections.HashMap<String, String>, b: kotlin.collections.LinkedHashMap<String, String>): Unit = Unit
    
        """
    
        @Language("kotlin")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. 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}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Sep 10 17:18:47 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. 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))
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Apr 14 12:32:57 GMT 2022
    - 3.7K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            Map<AccessorKey, ReplacedAccessor> oldAccessorsOfUpgradedProperties = (Map<AccessorKey, ReplacedAccessor>) context.getUserData().get(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
    
            // Find accessors that were not removed but should be
            Map<AccessorKey, ReplacedAccessor> keptAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                                target.getLocation("properties"), source.getLocation("properties"), sourceDominant));
            }
    
            private void putAll(Map<Object, Object> s, Map<Object, Object> t, Object excludeKey) {
                for (Map.Entry<Object, Object> e : t.entrySet()) {
                    if (!e.getKey().equals(excludeKey)) {
                        s.put(e.getKey(), e.getValue());
                    }
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
            String getClassName() { return null }
    
            Map<String, ?> getUserData() { return userData }
    
            Object getUserData(String key) {
                return userData[key]
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top