Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 682 for Chan (0.01 seconds)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.SortedSet;
    
    /**
     * GWT emulation of {@link RegularImmutableSortedSet}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      /** true if this set is a subset of another immutable sorted set. */
      final boolean isSubset;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

    import static java.util.Collections.emptyList;
    import static java.util.Collections.unmodifiableList;
    
    import java.util.List;
    
    /**
     * GWT emulated version of {@link RegularImmutableList}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableList<E> extends ForwardingImmutableList<E> {
      static final ImmutableList<Object> EMPTY = new RegularImmutableList<Object>(emptyList());
    
      private final List<E> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableSet}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      private final E element;
    
      SingletonImmutableSet(E element) {
        this.element = checkNotNull(element);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

    import static java.util.Collections.singletonList;
    
    import java.util.List;
    
    /**
     * GWT emulated version of {@link SingletonImmutableList}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
      private final transient List<E> delegate;
      private final E element;
    
      SingletonImmutableList(E element) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java

    package com.google.common.collect;
    
    import java.util.Set;
    
    /**
     * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> {
      static <E> ImmutableSet<E> asImmutable(Set<E> delegate) {
        switch (delegate.size()) {
          case 0:
            return ImmutableSet.of();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.FormatMethod;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      @FormatMethod
      static String format(String template, Object... args) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

    import com.google.errorprone.annotations.FormatMethod;
    import java.util.Locale;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/Platform.java

    import com.google.errorprone.annotations.FormatMethod;
    import java.util.Locale;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Collections;
    import java.util.Set;
    
    /**
     * GWT emulation of {@link RegularImmutableSet}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.HashMap;
    
    /**
     * GWT emulation of {@link RegularImmutableBiMap}.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @SuppressWarnings("serial")
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      static final RegularImmutableBiMap<Object, Object> EMPTY =
          new RegularImmutableBiMap<Object, Object>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 27 22:02:32 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top