Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 872 for entry (0.08 sec)

  1. guava/src/com/google/common/collect/CollectPreconditions.java

    final class CollectPreconditions {
    
      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        @Override
        protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
          ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                    ImmutableRangeMap.builder();
                for (Entry<Range<Integer>, Integer> entry : rangeMap.asMapOfRanges().entrySet()) {
                  if (entry.getKey().isConnected(subRange)
                      && !entry.getKey().intersection(subRange).isEmpty()) {
                    expectedBuilder.put(entry.getKey().intersection(subRange), entry.getValue());
                  }
                }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                          }
    
                          @Override
                          public Set<Entry<String>> entrySet() {
                            final Set<Entry<String>> backingSet = super.entrySet();
                            return new ForwardingSet<Entry<String>>() {
                              @Override
                              protected Set<Entry<String>> delegate() {
                                return backingSet;
                              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSourceTester.java

        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsCharSource) {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          } else {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          }
        }
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            }
        }
    
        public static void processThreadDump(final Consumer<String> writer) {
            for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {
                writer.accept("Thread: " + entry.getKey());
                final StackTraceElement[] trace = entry.getValue();
                for (final StackTraceElement element : trace) {
                    writer.accept("\tat " + element);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top