Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,303 for Map (0.03 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        }
    
        protected Optional<Map<String, String>> collectMapIfPresentOrEmpty(
                Function<O, Optional<Map<String, String>>> getter) {
            int had = 0;
            HashMap<String, String> items = new HashMap<>();
            for (O option : options) {
                Optional<Map<String, String>> up = getter.apply(option);
                if (up.isPresent()) {
                    had++;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

      }
    
      public void testCreateFromMap() {
        /* Test with non-empty Map. */
        Map<Currency, String> map =
            ImmutableMap.of(
                Currency.DOLLAR, "dollar",
                Currency.PESO, "peso",
                Currency.FRANC, "franc");
        EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map);
        assertEquals("dollar", bimap.get(Currency.DOLLAR));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                        if (extractor != null) {
                            try {
                                final Map<String, String> map = new HashMap<>();
                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                                buf.append(extractor.getText(new IgnoreCloseInputStream(ais), map).getContent());
                                buf.append('\n');
                            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        // Hack around K not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER;
        return copyOfInternal(map, naturalOrder);
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, with keys sorted by the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("[1, 2, 3, 4]", map.values().toString());
        map.values().remove(2);
        assertEquals("{bar=[1, 3, 4]}", map.toString());
      }
    
      public void testLinkedEntries() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/exentity/ClickLog.java

            return getUrl();
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/exentity/FavoriteLog.java

            return getCreatedAt();
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        /**
         * 
         * @param key
         *            cache key
         */
        void setKey ( String key );
    
    
        /**
         * @param map
         */
        void setCacheMap ( Map<String, DfsReferralDataInternal> map );
    
    
        /**
         * Replaces the entry with key in the cache map with this referral
         */
        void replaceCache ();
    
    
        /**
         * Not exactly sure what that is all about, certainly legacy stuff
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        final ConcurrentMap<?, ?> map;
    
        AbstractCacheSet(ConcurrentMap<?, ?> map) {
          this.map = map;
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
        @Override
        public boolean isEmpty() {
          return map.isEmpty();
        }
    
        @Override
        public void clear() {
          map.clear();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        private final AtomicBoolean setUpRan;
    
        CheckSetUpInvocationHandler(Map<String, String> map, AtomicBoolean setUpRan) {
          this.map = map;
          this.setUpRan = setUpRan;
        }
    
        @Override
        public Object invoke(Object target, Method method, Object[] args) throws Throwable {
          assertTrue("setUp should have run", setUpRan.get());
          try {
            return method.invoke(map, args);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top