Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for setValues (0.1 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple5.java

         */
        public void setValue1(final T1 value1) {
            this.value1 = value1;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getValue2() {
            return value2;
        }
    
        /**
         * 2番目の値を設定します。
         *
         * @param value2
         *            2番目の値
         */
        public void setValue2(final T2 value2) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Tuple4.java

         */
        public void setValue1(final T1 value1) {
            this.value1 = value1;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getValue2() {
            return value2;
        }
    
        /**
         * 2番目の値を設定します。
         *
         * @param value2
         *            2番目の値
         */
        public void setValue2(final T2 value2) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Tuple3.java

         */
        public void setValue1(final T1 value1) {
            this.value1 = value1;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getValue2() {
            return value2;
        }
    
        /**
         * 2番目の値を設定します。
         *
         * @param value2
         *            2番目の値
         */
        public void setValue2(final T2 value2) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testSetValue_valuePresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testSetValue_valuePresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          protected Entry<Class<? extends @NonNull B>, B> delegate() {
            return entry;
          }
    
          @Override
          @ParametricNullness
          public B setValue(@ParametricNullness B value) {
            cast(getKey(), value);
            return super.setValue(value);
          }
        };
      }
    
      @Override
      public Set<Entry<Class<? extends @NonNull B>, B>> entrySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        }
        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
      public final int remove(@CheckForNull Object element, int occurrences) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
            UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1));
      }
    
      public void testEntrySetToArrayMutationThrows() {
        map.putInstance(String.class, "test");
        @SuppressWarnings("unchecked") // Should get a CCE later if cast is wrong
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top