Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 532 for getValue (0.17 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied
            assertEquals(4, ((List<?>) pom.getValue("modules")).size());
            assertEquals("module-2", pom.getValue("modules[1]"));
            assertEquals("module-1", pom.getValue("modules[2]"));
            assertEquals("module-3", pom.getValue("modules[3]"));
            assertEquals("module-4", pom.getValue("modules[4]"));
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      }
    
      // https://youtrack.jetbrains.com/issue/KT-58242/. Crash when getValue result (null) is unboxed
      @J2ktIncompatible
      public void testToTableNullValues() {
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey,
                Cell::getColumnKey,
                Cell::getValue,
                () -> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

                                        public String getValue() {
                                            return (String) e.getValue();
                                        }
    
                                        @Override
                                        public String setValue(String value) {
                                            return (String) e.setValue(value);
                                        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                this.bannedPrefix = bannedPrefix;
                this.newPrefix = newPrefix;
                this.problems = problems;
            }
    
            @Override
            public Object getValue(String expression) {
                Object value = valueSource.getValue(expression);
    
                if (value != null && expression.startsWith(bannedPrefix)) {
                    String msg = "The expression ${" + expression + "} is deprecated.";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

           * currentEntry (which we never subsequently clear).
           */
          int frequency = requireNonNull(currentEntry).getValue().get();
          if (frequency <= 0) {
            throw new ConcurrentModificationException();
          }
          if (currentEntry.getValue().addAndGet(-1) == 0) {
            entryIterator.remove();
          }
          size--;
          canRemove = false;
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

          V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue());
          if (oldValue != null) {
            throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]);
          }
          K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey());
          if (oldKey != null) {
            throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]);
          }
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty() && predicate.apply(Maps.immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
            changed = true;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 11.9K bytes
    - Viewed (0)
Back to top