Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 682 for Chan (0.06 seconds)

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

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Map;
    
    /**
     * GWt emulation of {@link RegularImmutableMap}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
    
      static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<Object, Object>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
      static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
        for (Entry<K, V> entry : checkNotNull(map).entrySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

    import com.google.common.primitives.Chars;
    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Common generators of different types of lists.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public final class ListGenerators {
    
      private ListGenerators() {}
    
      public static class ImmutableListOfGenerator extends TestStringListGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java

    import static java.util.Collections.singletonMap;
    
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableBiMap}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      private final K singleKey;
      private final V singleValue;
    
      @Nullable transient SingletonImmutableBiMap<V, K> inverse;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link ForwardingMultimap}.
     *
     * @author Hayward Chan
     */
    @NullUnmarked
    public class ForwardingMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableMap} that forwards to another map.
     *
     * @author Hayward Chan
     */
    public abstract class ForwardingImmutableMap<K, V> extends ImmutableMap<K, V> {
    
      final transient Map<K, V> delegate;
    
      ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. 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)
  8. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The emulation source used in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      // Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod
      // mode.
      static int listListIteratorTesterNumIterations() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class SortedMapGenerators {
      public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class SortedMapGenerators {
      public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top