Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for specialized (0.18 sec)

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

    import com.google.common.annotations.J2ktIncompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already
     * backed by an {@code ImmutableList} or array.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumMultiset.java

    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.function.ObjIntConsumer;
    import javax.annotation.CheckForNull;
    
    /**
     * Multiset implementation specialized for enum elements, supporting all single-element operations
     * in O(1).
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multiset">{@code Multiset}</a>.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumMultiset.java

    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Multiset implementation specialized for enum elements, supporting all single-element operations
     * in O(1).
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multiset">{@code Multiset}</a>.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

      static final RegularImmutableBiMap<Object, Object> EMPTY =
          new RegularImmutableBiMap<Object, Object>();
    
      // This reference is used both by the GWT compiler to infer the elements
      // of the lists that needs to be serialized.
      private ImmutableBiMap<V, K> inverse;
    
      @SuppressWarnings("unchecked") // used only for the empty map, which works for any types
      RegularImmutableBiMap() {
        super(new RegularImmutableMap<K, V>(new HashMap<K, V>()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
    
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
      SingletonImmutableSet(E element) {
        this.element = checkNotNull(element);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. README.md

        `com.google.guava:failureaccess:1.0.2`. It also has
        [some annotation-only dependencies][guava-deps], which we discuss in more
        detail at that link.
    
    4.  Serialized forms of ALL objects are subject to change unless noted
        otherwise. Do not persist these and assume they can be read by a future
        version of the library.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

      final transient List<E> delegate;
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java

    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
    
      // These references are used both by the custom field serializer, and by the
      // GWT compiler to infer the keys and values of the map that needs to be
      // serialized.
      //
      // Although they are non-final, they are package private and the reference is
      // never modified after a map is constructed.
      K singleKey;
      V singleValue;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return new SerializedForm<>(delegate());
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
    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)
Back to top