Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for valueSet (0.08 sec)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            reader.setScrollSize(1000);
            int count = 0;
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

          SortedSet<V> valueSet = (SortedSet<V>) valueCollection;
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
      public void testAsMapGetImplementsSortedSet() {
        for (K key : multimap().keySet()) {
          SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key);
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

          SortedSet<V> valueSet = (SortedSet<V>) valueCollection;
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
      public void testAsMapGetImplementsSortedSet() {
        for (K key : multimap().keySet()) {
          SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key);
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

              ValueSet.this.remove(toRemove.getValue());
              expectedModCount = modCount;
              toRemove = null;
            }
          };
        }
    
        @Override
        public void forEach(Consumer<? super V> action) {
          checkNotNull(action);
          for (ValueSetLink<K, V> entry = firstEntry;
              entry != ValueSet.this;
              entry = entry.getSuccessorInValueSet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                return Collections.emptySet();
            }
    
            final Set<String> valueSet = new HashSet<>();
            for (final LabelTypePattern pattern : labelTypePatternList) {
                if (pattern.match(path)) {
                    valueSet.add(pattern.getValue());
                }
            }
            return valueSet;
        }
    
        protected void buildLabelTypePatternList(final List<LabelType> labelTypeList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

            return false;
          }
        }
      }
    
      @LazyInit private transient Set<V> valueSet;
    
      @Override
      public Set<V> values() {
        Set<V> result = valueSet;
        return (result == null) ? valueSet = new ValueSet() : result;
      }
    
      final class ValueSet extends View<K, V, V> {
        ValueSet() {
          super(HashBiMap.this);
        }
    
        @Override
        @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractBiMap.java

        }
      }
    
      @LazyInit @CheckForNull private transient Set<V> valueSet;
    
      @Override
      public Set<V> values() {
        /*
         * We can almost reuse the inverse's keySet, except we have to fix the
         * iteration order so that it is consistent with the forward map.
         */
        Set<V> result = valueSet;
        return (result == null) ? valueSet = new ValueSet() : result;
      }
    
      @WeakOuter
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
          assertFalse(
              Hashing.needsResizing(
                  valueSet.size(),
                  valueSet.hashTable.length,
                  LinkedHashMultimap.VALUE_SET_LOAD_FACTOR));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          ImmutableSet<Object> valueSet = valuesBuilder.build();
          if (valueSet.size() != valueCount) {
            throw new InvalidObjectException("Duplicate key-value pairs exist for key " + key);
          }
          builder.put(key, valueSet);
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableSet<Object>> tmpMap;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
          ImmutableSet<Object> valueSet = valuesBuilder.build();
          if (valueSet.size() != valueCount) {
            throw new InvalidObjectException("Duplicate key-value pairs exist for key " + key);
          }
          builder.put(key, valueSet);
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableSet<Object>> tmpMap;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top