Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 682 for Chan (0.1 seconds)

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

    import org.jspecify.annotations.Nullable;
    
    /**
     * A GWT-only class only used by GWT emulations. It is used to consolidate the definitions of method
     * delegation to save code size.
     *
     * @author Hayward Chan
     */
    final class ForwardingImmutableCollection<E> extends ImmutableCollection<E> {
    
      final transient Collection<E> delegate;
    
      ForwardingImmutableCollection(Collection<E> delegate) {
        this.delegate = delegate;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. 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)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class BiMapGenerators {
      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/annotations/GwtCompatible.java

     *
     * <p>Note that a {@code GwtCompatible} type may have some {@link GwtIncompatible} methods.
     *
     * @author Charles Fry
     * @author Hayward Chan
     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.TYPE, ElementType.METHOD})
    @Documented
    @GwtCompatible
    public @interface GwtCompatible {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:15:36 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/SingletonImmutableList.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import java.util.Spliterator;
    
    /**
     * Implementation of {@link ImmutableList} with exactly one element.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableList<E> extends ImmutableList<E> {
    
      final transient E element;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class BiMapGenerators {
      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation.
     *
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // Serialization only done in GWT.
    public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> {
      private final transient Set<E> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    abstract class ForwardingImmutableList<E> extends ImmutableList<E> {
    
      ForwardingImmutableList() {}
    
      abstract List<E> delegateList();
    
      @Override
      public int indexOf(@Nullable Object object) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

    import java.util.Arrays;
    
    /**
     * Minimal GWT emulation of {@code com.google.common.collect.testing.Platform}.
     *
     * <p><strong>This .java file should never be consumed by javac.</strong>
     *
     * @author Hayward Chan
     */
    final class Platform {
      // Class.cast is not supported in GWT.
      static void checkCast(Class<?> clazz, Object obj) {}
    
      static <T> T[] clone(T[] array) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingCollection}.
     *
     * @author Robert Konigsberg
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingCollectionTest extends TestCase {
      static final class StandardImplForwardingCollection<T> extends ForwardingCollection<T> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.8K bytes
    - Click Count (1)
Back to Top