Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 776 for entropy (0.05 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

      }
    
      RegularImmutableBiMap(ImmutableMap<K, V> delegate) {
        super(delegate);
    
        ImmutableMap.Builder<V, K> builder = ImmutableMap.builder();
        for (Entry<K, V> entry : delegate.entrySet()) {
          builder.put(entry.getValue(), entry.getKey());
        }
        ImmutableMap<V, K> backwardMap = builder.build();
        this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                    return null;
                }
    
                String result = template;
                if (paramMap != null) {
                    for (Map.Entry<String, Object> entry : paramMap.entrySet()) {
                        String key = entry.getKey();
                        Object value = entry.getValue();
    
                        // Handle nested properties
                        if (key.contains(".")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
          for (Entry<? extends Object> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
            i++;
          }
        }
    
        Object readResolve() {
          ImmutableMultiset.Builder<Object> builder =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
                        table.put("a", "b", "c");
                        table.put("c", "b", "a");
                        table.put("a", "a", "d");
                        for (Entry<String, String> entry : entries) {
                          table.put("b", entry.getKey(), entry.getValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

            "Should not contain null after unsupported putIfAbsent(present, null)");
      }
    
      @CanIgnoreReturnValue
      private V putIfAbsent(Entry<K, V> entry) {
        return getMap().putIfAbsent(entry.getKey(), entry.getValue());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/RemovalCause.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          checkEmpty(cache);
        }
      }
    
      /* ---------------- Entry Set -------------- */
    
      public void testEntrySet_nullToArray() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          assertThrows(
              NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null));
          checkEmpty(cache);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                      assertNull(k);
                      assertEquals(getValueForNullKey(), v);
                      return v3();
                    }));
    
        Entry<K, V>[] expected = createArrayWithNullKey();
        expected[getNullLocation()] = entry(null, v3());
        expectContents(expected);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testComputeIfPresent_nullKeySupportedAbsent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          public ListIterator<V> listIterator(int index) {
            NodeIterator nodeItr = new NodeIterator(index);
            return new TransformedListIterator<Entry<K, V>, V>(nodeItr) {
              @Override
              @ParametricNullness
              V transform(Entry<K, V> entry) {
                return entry.getValue();
              }
    
              @Override
              public void set(@ParametricNullness V value) {
                nodeItr.setValue(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top