Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 836 for IsEmpty (0.08 sec)

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

        TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(a);
        rangeSet.add(b);
        if (a.isEmpty() && b.isEmpty()) {
          assertThat(rangeSet.asRanges()).isEmpty();
        } else if (a.isEmpty()) {
          assertThat(rangeSet.asRanges()).contains(b);
        } else if (b.isEmpty()) {
          assertThat(rangeSet.asRanges()).contains(a);
        } else if (a.isConnected(b)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

     * limitations under the License.
     */
    package okhttp3.brotli
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import kotlin.test.assertFailsWith
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
            return null
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testIsEmpty() {
        assertThat(ImmutableDoubleArray.of().isEmpty()).isTrue();
        assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertTrue(crawlingConfigHelper.getPipeline(null).isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("").isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("XXX").isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("W1").isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("F1").isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("D1").isEmpty());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            if (artifact.getGroupId().isEmpty()
                    || artifact.getArtifactId().isEmpty()
                    || artifact.getBaseVersion().asString().isEmpty()) {
                artifact = session.createProducedArtifact(
                        artifact.getGroupId().isEmpty() ? project.getGroupId() : artifact.getGroupId(),
                        artifact.getArtifactId().isEmpty() ? project.getArtifactId() : artifact.getArtifactId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        if (expectedLines.isEmpty()) {
          assertNull(source.readFirstLine());
        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          MutableNetwork<Integer, Object> network =
              networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build();
    
          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                List<Plugin> src = source.getPlugins();
                if (!src.isEmpty()) {
                    List<Plugin> tgt = target.getPlugins();
                    Map<Object, Plugin> master = new LinkedHashMap<>(src.size() * 2);
    
                    for (Plugin element : src) {
                        if (element.isInherited() || !element.getExecutions().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top