Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fromMap (0.1 sec)

  1. guava/src/com/google/common/collect/Maps.java

        protected SortedMap<K, V1> fromMap() {
          return (SortedMap<K, V1>) fromMap;
        }
    
        TransformedEntriesSortedMap(
            SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) {
          super(fromMap, transformer);
        }
    
        @Override
        @CheckForNull
        public Comparator<? super K> comparator() {
          return fromMap().comparator();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

        protected SortedMap<K, V1> fromMap() {
          return (SortedMap<K, V1>) fromMap;
        }
    
        TransformedEntriesSortedMap(
            SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) {
          super(fromMap, transformer);
        }
    
        @Override
        @CheckForNull
        public Comparator<? super K> comparator() {
          return fromMap().comparator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

              K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
          Multimap<K, V2> transformEntries(
              Multimap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) {
        return new TransformedEntriesMultimap<>(fromMap, transformer);
      }
    
      /**
       * Returns a view of a {@code ListMultimap} whose values are derived from the original multimap's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        return multimap.build().keySet();
                      }
                    })
                .named("Multimaps.forMap.keySet")
                .withFeatures(FOR_MAP_FEATURES_ANY)
                .createTestSuite());
    
        // TODO: use collection testers on Multimaps.forMap.values
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        return multimap.build().keySet();
                      }
                    })
                .named("Multimaps.forMap.keySet")
                .withFeatures(FOR_MAP_FEATURES_ANY)
                .createTestSuite());
    
        // TODO: use collection testers on Multimaps.forMap.values
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

        Map<String, Integer> map = Maps.newHashMap();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        Multimap<String, Integer> multimapView = Multimaps.forMap(map);
        SerializableTester.reserializeAndAssert(multimapView);
      }
    
      public void testForMapRemoveAll() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        Multimap<String, Integer> multimap = Multimaps.forMap(map);
        assertEquals(3, multimap.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            for (int i = 0; i < objectsNum; i++) {
              objects.add(new Object());
            }
    
            Iterable<?> locks = striped.bulkGet(objects);
            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            for (int i = 0; i < objectsNum; i++) {
              objects.add(new Object());
            }
    
            Iterable<?> locks = striped.bulkGet(objects);
            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/main/webapp/js/bootstrap.min.js

    J,i=Z,B):(n=G,i=tt,V),l&&g(l).hasClass(X))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var u=g.Event(Y.SLID,{relatedTarget:l,direction:o,from:a,to:c});if(g(this._element).hasClass($)){g(l).addClass(i),_.reflow(l),g(s).addClass(n),g(l).addClass(n);var f=parseInt(l.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._co...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
Back to top