Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fake (0.14 sec)

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

         * However, serialization does not preserve that property, though it does maintain the key and
         * value ordering.
         *
         * @since 8.0
         */
        // TODO: Make serialization behavior consistent.
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
          super.orderValuesBy(valueComparator);
          return this;
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          size += other.size;
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

     * Ordering} to be of type {@code Comparator} instead. However, at this time we have no plan to
     * <i>deprecate</i> this class.
     *
     * <p>Many replacements involve adopting {@code Stream}, and these changes can sometimes make your
     * code verbose. Whenever following this advice, you should check whether {@code Stream} could be
     * adopted more comprehensively in your code; the end result may be quite a bit simpler.
     *
     * <h3>See also</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSet.java

          return false;
        }
        return Sets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @LazyInit @RetainedWith @CheckForNull private transient ImmutableList<E> asList;
    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)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

        if (length == 0) {
          return of();
        }
        return new RegularImmutableList<E>(elements, length);
      }
    
      ImmutableList() {}
    
      // This declaration is needed to make List.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
    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)
  6. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p>The iteration order of the returned map follows the enum's iteration order, not the order in
       * which the elements appear in the given map.
       *
       * @param map the map to make an immutable copy of
       * @return an immutable map containing those entries
       * @since 14.0
       */
      @GwtCompatible(serializable = true)
      public static <K extends Enum<K>, V> ImmutableMap<K, V> immutableEnumMap(
    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