Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 838 for useEmpty (0.1 sec)

  1. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractEntity.java

        }
    
        public void clearModifiedInfo() {
            __modifiedProperties.clear();
        }
    
        public boolean hasModification() {
            return !__modifiedProperties.isEmpty();
        }
    
        protected EntityModifiedProperties newModifiedProperties() {
            return new EntityModifiedProperties();
        }
    
        protected void registerModifiedProperty(String propertyName) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public @Nullable E higher(E e) {
        return delegate.higher(checkValid(e));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Iterator<E> iterator() {
        return delegate.iterator();
      }
    
      @Override
      public E last() {
        return delegate.last();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      protected void assertGet(K key, Collection<? extends V> values) {
        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/ParamMap.java

            }
            return keyStr;
        }
    
        @Override
        public int size() {
            return parent.size();
        }
    
        @Override
        public boolean isEmpty() {
            return parent.isEmpty();
        }
    
        @Override
        public boolean containsKey(final Object key) {
            if (parent.containsKey(key)) {
                return true;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
        multimap.put("foo", 6);
    
        assertThrows(ConcurrentModificationException.class, () -> sublist.isEmpty());
      }
    
      public void testCreateFromMultimap() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
          } else {
            assertEqualIgnoringOrder(expectedValues, collection);
          }
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                .createTestSuite());
    
        return suite;
      }
    
      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

     * may be equal only if at least one of the bounds is closed:
     *
     * <ul>
     *   <li>{@code [a..a]} : a singleton range
     *   <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid
     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

       * despite actually having content when read.) This means that a source may return {@code true}
       * from {@code isEmpty()} despite having readable content.
       *
       * @throws IOException if an I/O error occurs
       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> sizeIfKnown = sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          return sizeIfKnown.get() == 0L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top