Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for StandardKeySet (0.19 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
           * NavigableSet. We test StandardKeySet in the superclass, so it's still covered.
           */
          return navigableKeySet();
        }
    
        @Override
        public Collection<V> values() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSortedMap.java

       * ForwardingSortedMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardKeySet extends Maps.SortedKeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingSortedMap.this);
        }
      }
    
      // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                return map;
              }
    
              @Override
              public Set<String> keySet() {
                return new StandardKeySet();
              }
            };
        callAllPublicMethods(new TypeToken<Set<String>>() {}, forward.keySet());
    
        // These are the methods specified by StandardKeySet
        verify(map, atLeast(0)).clear();
        verify(map, atLeast(0)).containsKey(any());
        verify(map, atLeast(0)).isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                return map;
              }
    
              @Override
              public Set<String> keySet() {
                return new StandardKeySet();
              }
            };
        callAllPublicMethods(new TypeToken<Set<String>>() {}, forward.keySet());
    
        // These are the methods specified by StandardKeySet
        verify(map, atLeast(0)).clear();
        verify(map, atLeast(0)).containsKey(any());
        verify(map, atLeast(0)).isEmpty();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

       * ForwardingSortedMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardKeySet extends Maps.SortedKeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingSortedMap.this);
        }
      }
    
      // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMap.java

       * ForwardingMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 10.0
       */
      protected class StandardKeySet extends Maps.KeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingMap.this);
        }
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #containsKey} in terms of the {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
           * NavigableSet. We test StandardKeySet in the superclass, so it's still covered.
           */
          return navigableKeySet();
        }
    
        @Override
        public Collection<V> values() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingMap.java

       * ForwardingMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 10.0
       */
      protected class StandardKeySet extends Maps.KeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingMap.this);
        }
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #containsKey} in terms of the {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top