Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for transform (0.18 sec)

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

              Collection<String> input =
                  inputIsSet
                      ? new MutatedOnQuerySet<>(infiniteSetsFromStartIndex)
                      : new MutatedOnQueryList<>(
                          Iterables.transform(infiniteSetsFromStartIndex, ImmutableList::copyOf));
              Set<String> immutableCopy;
              try {
                immutableCopy = copyOf(input);
              } catch (RuntimeException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

                Entry<Class<? extends @NonNull B>, B>, Entry<Class<? extends @NonNull B>, B>>(
                delegate().iterator()) {
              @Override
              Entry<Class<? extends @NonNull B>, B> transform(
                  Entry<Class<? extends @NonNull B>, B> from) {
                return checkedEntry(from);
              }
            };
          }
    
          @Override
          public Object[] toArray() {
            /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Optional.java

       *
       * @throws NullPointerException if the function returns {@code null}
       * @since 12.0
       */
      public abstract <V> Optional<V> transform(Function<? super T, V> function);
    
      /**
       * Returns {@code true} if {@code object} is an {@code Optional} instance, and either the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeBasedTable.java

      @Override
      Iterator<C> createColumnKeyIterator() {
        Comparator<? super C> comparator = columnComparator();
    
        Iterator<C> merged =
            Iterators.mergeSorted(
                Iterables.transform(
                    backingMap.values(), (Map<C, V> input) -> input.keySet().iterator()),
                comparator);
    
        return new AbstractIterator<C>() {
          @CheckForNull C lastValue;
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedListMultimap.java

            final NodeIterator nodeItr = new NodeIterator(index);
            return new TransformedListIterator<Entry<K, V>, V>(nodeItr) {
              @Override
              @ParametricNullness
              V transform(Entry<K, V> entry) {
                return entry.getValue();
              }
    
              @Override
              public void set(@ParametricNullness V value) {
                nodeItr.setValue(value);
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

            Entry<String, String> entry = (Entry<String, String>) o;
            multimap.put(entry.getKey(), Ascii.toUpperCase(entry.getValue()));
          }
          return transform(multimap);
        }
    
        abstract M transform(Multimap<String, String> multimap);
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, String>[] createArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

          // Must be manually synchronized.
          return new TransformedIterator<Map.Entry<K, Collection<V>>, Map.Entry<K, Collection<V>>>(
              super.iterator()) {
            @Override
            Map.Entry<K, Collection<V>> transform(final Map.Entry<K, Collection<V>> entry) {
              return new ForwardingMapEntry<K, Collection<V>>() {
                @Override
                protected Map.Entry<K, Collection<V>> delegate() {
                  return entry;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

         *       Objects.equal}{@code (k1, k2) &&} {@link Objects#equal}{@code (v1, v2)} implies that
         *       {@code Objects.equal(transformer.transform(k1, v1), transformer.transform(k2, v2))}.
         * </ul>
         *
         * @throws NullPointerException if the key or value is null and this transformer does not accept
         *     null arguments
         */
        @ParametricNullness
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top