Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for AbstractMapEntry (0.3 sec)

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

    /**
     * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code
     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        implements Entry<K, V> {
    
      @Override
      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMapEntry.java

    /**
     * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code
     * Entry}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        implements Entry<K, V> {
    
      @Override
      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code AbstractMapEntry}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class AbstractMapEntryTest extends TestCase {
      private static final @Nullable String NK = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEntry.java

     * common.collect} as a superclass.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    class ImmutableEntry<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapEntry<K, V> implements Serializable {
      @ParametricNullness final K key;
      @ParametricNullness final V value;
    
      ImmutableEntry(@ParametricNullness K key, @ParametricNullness V value) {
        this.key = key;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 19 21:29:44 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        ImmutableMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        ImmutableMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

        return new Itr<Entry<K, V>>() {
          @Override
          Entry<K, V> output(BiEntry<K, V> entry) {
            return new MapEntry(entry);
          }
    
          class MapEntry extends AbstractMapEntry<K, V> {
            private BiEntry<K, V> delegate;
    
            MapEntry(BiEntry<K, V> entry) {
              this.delegate = entry;
            }
    
            @Override
            @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

       * null} even for a map which supposedly does not contain null elements, if the key is not present
       * when {@code getValue()} is called.
       */
      final class EntryForKey extends AbstractMapEntry<K, V> {
        @ParametricNullness final K key;
        int index;
    
        EntryForKey(int index) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top