Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 107 for getValue (0.17 sec)

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

            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
        assertMapEquals(builder.build(), "one", 1);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            Object k = entry.getKey();
            Object v = entry.getValue();
            return v != null && v.equals(map.get(k));
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
          return true;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapsTest.java

        Entry<String, Integer> entry = unmod.entries().iterator().next();
        try {
          entry.setValue(2);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        entry = (Entry<String, Integer>) unmod.entries().toArray()[0];
        try {
          entry.setValue(2);
          fail("UnsupportedOperationException expected");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        protected Map<String, String> create(Entry<String, String>[] entries) {
          LocalCache<String, String> map = makeLocalCache(builder);
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return map;
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(LocalCacheTest.class);
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
                        .collect(Collectors.toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())));
    
            } else {
                return null;
            }
        }
    
        @SuppressWarnings("unchecked")
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/Tuple5.java

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

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

         * @return 1番目の値
         */
        public T1 getValue1() {
            return value1;
        }
    
        /**
         * 1番目の値を設定します。
         *
         * @param value1
         *            1番目の値
         */
        public void setValue1(final T1 value1) {
            this.value1 = value1;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getValue2() {
            return value2;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            if (closed) {
              return;
            }
            closed = true;
          }
          for (Map.Entry<Closeable, Executor> entry : entrySet()) {
            closeQuietly(entry.getKey(), entry.getValue());
          }
          clear();
          if (whenClosed != null) {
            whenClosed.countDown();
          }
        }
    
        void add(@CheckForNull Closeable closeable, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		}
    		labels1["le"] = fmt.Sprintf("%.3f", math.Inf(+1))
    		metrics = append(metrics, MetricV2{
    			Description:    desc,
    			VariableLabels: labels1,
    			Value:          dtoMetric.Counter.GetValue(),
    		})
    	}
    	return metrics
    }
    
    func getBucketTTFBMetric() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top