Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 700 for IsEmpty (0.73 sec)

  1. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getDateTimeInstance;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.Timestamp;
    import java.text.DateFormat;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

            multimap.asMap().entrySet(), immutableEntry(sampleKey, sampleValueAsCollection));
    
        // Test #values()
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
        if (!multimap.isEmpty()) {
          Collection<V> values = multimap.asMap().entrySet().iterator().next().getValue();
    
          assertCollectionIsUnmodifiable(values, sampleValue);
        }
    
        // Test #entries()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableListMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
        if (multimap instanceof ImmutableListMultimap) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder exclusions(Collection<Exclusion> exclusions) {
                if (exclusions != null) {
                    if (this.exclusions.isEmpty()) {
                        this.exclusions = new ArrayList<>();
                    }
                    this.exclusions.addAll(exclusions);
                }
                return this;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

          JdkBackedImmutableMultiset.create(ImmutableList.of());
    
      RegularImmutableMultiset() {}
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        if (entries.isEmpty()) {
          return ImmutableMultiset.of();
        } else {
          return JdkBackedImmutableMultiset.create(entries);
        }
      }
    
      @Override
      public int count(@Nullable Object element) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public boolean isEmpty() {
        return false;
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        checkNotNull(other);
        checkArgument(this.domain.equals(other.domain));
        if (other.isEmpty()) {
          return other;
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(list.isEmpty(), is(true));
            list.addLast("1");
            assertThat(list.isEmpty(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContaines() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope());
            assertFalse(entry.isComplete());
            assertFalse(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    
        @Test
        public void testUpdateChild() {
            String childName = "file1.txt";
            long size = 1024L;
            long lastModified = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableListMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
        if (multimap instanceof ImmutableListMultimap) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top