Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for retValue (0.06 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey());
        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
            UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1));
      }
    
      public void testEntrySetToArrayMutationThrows() {
        map.putInstance(String.class, "test");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          backingMap.put(element, occurrences);
          size += occurrences;
          return 0;
        }
        int oldCount = backingMap.getValue(entryIndex);
        long newCount = (long) oldCount + (long) occurrences;
        checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount);
        backingMap.setValue(entryIndex, (int) newCount);
        size += occurrences;
        return oldCount;
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingMapEntry.java

      public K getKey() {
        return delegate().getKey();
      }
    
      @Override
      @ParametricNullness
      public V getValue() {
        return delegate().getValue();
      }
    
      @Override
      @ParametricNullness
      @CanIgnoreReturnValue
      public V setValue(@ParametricNullness V value) {
        return delegate().setValue(value);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return delegate().equals(object);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/ValueHolder.java

            this.value = value;
        }
    
        /**
         * 値を返します。
         *
         * @return 値
         */
        public T getValue() {
            return value;
        }
    
        /**
         * 値を設定します。
         *
         * @param value
         *            値
         */
        public void setValue(final T value) {
            this.value = value;
        }
    
        @Override
        public String toString() {
            return value.toString();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

        }
    
        public String getName() {
            return name;
        }
    
        public void setName(final String name) {
            this.name = name;
        }
    
        public String getValue() {
            return value;
        }
    
        public void setValue(final String value) {
            this.value = value;
        }
    
        public boolean isValid() {
            if (StringUtil.isBlank(name) || value == null) {
                return false;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableEntry.java

      }
    
      @Override
      @ParametricNullness
      public final K getKey() {
        return key;
      }
    
      @Override
      @ParametricNullness
      public final V getValue() {
        return value;
      }
    
      @Override
      @ParametricNullness
      public final V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 19 21:29:44 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsCrawlingInfoParam.java

        }
    
        public void setKey(String value) {
            registerModifiedProperty("key");
            this.key = value;
        }
    
        public String getValue() {
            checkSpecifiedProperty("value");
            return convertEmptyToNull(value);
        }
    
        public void setValue(String value) {
            registerModifiedProperty("value");
            this.value = value;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/HashBiMapTest.java

          assertEquals(2 * i, (int) inverse.get(2 * i - 1));
        }
        Set<Entry<Integer, Integer>> entries = bimap.entrySet();
        for (Entry<Integer, Integer> entry : entries) {
          entry.setValue(entry.getValue() + 2 * N);
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i));
        }
      }
    
      public void testBiMapEntrySetIteratorRemove() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top