Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for retValue (0.05 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          } while (chars.contains(c));
          chars.add(c);
        }
        char[] retValue = new char[chars.size()];
        int i = 0;
        for (char c : chars) {
          retValue[i++] = c;
        }
        Arrays.sort(retValue);
        return retValue;
      }
    
      public void testToString() {
        assertToStringWorks("CharMatcher.none()", CharMatcher.anyOf(""));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

          } while (chars.contains(c));
          chars.add(c);
        }
        char[] retValue = new char[chars.size()];
        int i = 0;
        for (char c : chars) {
          retValue[i++] = c;
        }
        Arrays.sort(retValue);
        return retValue;
      }
    
      public void testToString() {
        assertToStringWorks("CharMatcher.none()", CharMatcher.anyOf(""));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ArrayTable.java

            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return ArrayMap.this.getValue(index);
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        @Override
        @ParametricNullness
        public K getValue() {
          updateIndex();
          // For discussion of unsafeNull() and uncheckedCastNullableTToT(), see EntryForKey.getValue().
          return (index == ABSENT) ? unsafeNull() : uncheckedCastNullableTToT(biMap.keys[index]);
        }
    
        @Override
        @ParametricNullness
        public K setValue(@ParametricNullness K key) {
          updateIndex();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
            expectedEntrySetHash += expectedHash;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

              Entry<K, V> e = (Entry<K, V>) o;
              e.setValue(value); // muhahaha!
    
              return equal(this.getKey(), e.getKey()) && equal(this.getValue(), e.getValue());
            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            final Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                final Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List) entry.getValue()));
            }
            return headerFields = Collections.unmodifiableMap(map);
        }
    
        @Override
        public Map getHeaderFields() {
            if (headerFields != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

       * multimap, {@link Entry#getValue} returns the value from the multimap, which may change over
       * time, and {@link Entry#setValue} modifies that value. Removing the mapping from the multimap
       * does not alter the value returned by {@code getValue()}, though a subsequent {@code setValue()}
       * call won't update the multimap but will lead to a revised value being returned by {@code
       * getValue()}.
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        assertEquals("bar", entry.getKey());
        assertEquals(1, (int) entry.getValue());
        entry = entries.next();
        assertEquals("foo", entry.getKey());
        assertEquals(2, (int) entry.getValue());
        entry.setValue(4);
        entry = entries.next();
        assertEquals("bar", entry.getKey());
        assertEquals(3, (int) entry.getValue());
        assertFalse(entries.hasNext());
        entries.remove();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Clears the reference queues used by this segment, if any. */
        void maybeClearReferenceQueues() {}
    
        /** Sets the value of the given {@code entry}. */
        void setValue(E entry, V value) {
          this.map.entryHelper.setValue(self(), entry, value);
        }
    
        /** Returns a copy of the given {@code entry}. */
        @Nullable E copyEntry(E original, E newNext) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top