Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Equivalent (0.21 sec)

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

      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first
       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
      static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() {
        return emptyListIterator();
      }
    
      /**
       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        Entry<K, V>[] entries2 = (Entry<K, V>[]) entries;
        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

        for (Cell<? extends R, ? extends C, ? extends V> cell : cells) {
          builder.put(cell);
        }
        return builder.build();
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder#Builder() ImmutableTable.Builder()} constructor.
       */
      public static <R, C, V> Builder<R, C, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableListMultimap.Builder<Character, String>()
       *         .put('b', "anana")
       *         .putAll('a', "pple", "sparagus")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
       *         .put('b', "anana")
       *         .putAll('a', "pple", "sparagus")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

          dst[offset + i] = get(i);
        }
        return offset + size;
      }
    
      /**
       * Returns a view of this immutable list in reverse order. For example, {@code ImmutableList.of(1,
       * 2, 3).reverse()} is equivalent to {@code ImmutableList.of(3, 2, 1)}.
       *
       * @return a view of this immutable list in reverse order
       * @since 7.0
       */
      public ImmutableList<E> reverse() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

        checkEntryNotNull(key, value);
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

       * will be added more than once, with the count summed over all appearances of the element.
       *
       * <p>Note that {@code stream.collect(toMultiset(function, e -> 1, supplier))} is equivalent to
       * {@code stream.map(function).collect(Collectors.toCollection(supplier))}.
       *
       * <p>To collect to an {@link ImmutableMultiset}, use {@link
       * ImmutableMultiset#toImmutableMultiset}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top