Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 836 for isEmpty (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
        public boolean contains(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(object);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/message/MessageFormatter.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.message;
    
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    
    import java.text.MessageFormat;
    import java.util.ResourceBundle;
    
    import org.codelibs.core.io.ResourceBundleUtil;
    import org.codelibs.core.misc.DisposableUtil;
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

        }
      }
    
      public void testNeitherOverriddenNorAnnotated() {
        assertThat(getSubscriber().neitherOverriddenNorAnnotatedEvents).isEmpty();
      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return Maps.immutableEntry(key, value);
      }
    
      private void assertMapSize(Map<?, ?> map, int size) {
        assertEquals(size, map.size());
        if (size > 0) {
          assertFalse(map.isEmpty());
        } else {
          assertTrue(map.isEmpty());
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            boostExpression = rule.getBoostExpr();
            scriptType = ComponentUtil.getFessConfig().getCrawlerDefaultScript();
        }
    
        public boolean match(final Map<String, Object> map) {
    
            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
            final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(matchExpression, map);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

                ExampleClassUnderTest.logger.removeHandler(handler);
              }
            });
      }
    
      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        return delegateList().containsAll(targets);
      }
    
      public int size() {
        return delegateList().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegateList().isEmpty();
      }
    
      @Override
      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return delegateList().toArray(other);
      }
    
      @Override
      public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeTraverser.java

        PreOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(singletonIterator(checkNotNull(root)));
        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                                StringBuilder buffer = new StringBuilder(256);
    
                                if (!getSource().isEmpty()) {
                                    buffer.append(getSource());
                                }
    
                                if (getLineNumber() > 0) {
                                    if (!buffer.isEmpty()) {
                                        buffer.append(", ");
                                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          multimap().remove(key, value);
          expectedCollection.remove(value);
    
          assertEqualIgnoringOrder(expectedCollection, collection);
          assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key));
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemovePropagatesToAsMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top