Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for Chan (0.19 sec)

  1. guava/src/com/google/common/collect/ForwardingImmutableCollection.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Dummy class that makes the GWT serialization policy happy. It isn't used on the server-side.
     *
     * @author Hayward Chan
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    class ForwardingImmutableCollection {
      private ForwardingImmutableCollection() {}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 972 bytes
    - Viewed (0)
  2. 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
     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1K bytes
    - Viewed (0)
  3. 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
     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
    
      static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<Object, Object>();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Platform.java

    import com.google.common.annotations.GwtCompatible;
    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.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Aug 04 01:39:13 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. 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.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableSet}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
    
      // This reference is used both by the custom field serializer, and by the
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. 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
     */
    @ElementTypesAreNonnullByDefault
    final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
      static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link ForwardingMultimap}.
     *
     * @author Hayward Chan
     */
    public class ForwardingMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Multimap.class,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.8K bytes
    - Viewed (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.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    abstract class ForwardingImmutableList<E> extends ImmutableList<E> {
    
      ForwardingImmutableList() {}
    
      abstract List<E> delegateList();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    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}. */
      static String format(String template, Object... args) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

    import com.google.common.annotations.GwtCompatible;
    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.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Aug 04 01:39:13 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top