Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 836 for IsEmpty (0.13 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N2);
        putEdge(N2, N1); // no-op
    
        assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isTrue();
        assertThat(graph.adjacentNodes(N1)).isEmpty();
        assertThat(graph.edges()).isEmpty();
        assertThat(graphAsMutableGraph.removeEdge(N2, N1)).isFalse();
      }
    
      @Test
      public void removeNode_existingNodeWithSelfLoopEdge() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            if (!tags.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.TAGS, tags));
            }
    
            roles.add(SuggestConstants.DEFAULT_ROLE);
            if (!roles.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.ROLES, roles));
            }
    
            if (!fields.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.FIELDS, fields));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MoreCollectors.java

        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
          }
        }
    
        Object getElement() {
          if (element == null) {
            throw new NoSuchElementException();
          } else if (extras.isEmpty()) {
            return element;
          } else {
            throw multiples(false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. internal/s3select/csv/args.go

    	CommentCharacter           string `xml:"Comments"`
    	AllowQuotedRecordDelimiter bool   `xml:"AllowQuotedRecordDelimiter"`
    	unmarshaled                bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. internal/s3select/select.go

    		parsedInput.CompressionType = noneType
    	}
    
    	found := 0
    	if !parsedInput.CSVArgs.IsEmpty() {
    		parsedInput.format = csvFormat
    		found++
    	}
    	if !parsedInput.JSONArgs.IsEmpty() {
    		parsedInput.format = jsonFormat
    		found++
    	}
    	if !parsedInput.ParquetArgs.IsEmpty() {
    		if parsedInput.CompressionType != "" && parsedInput.CompressionType != noneType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertThat(rangeSet.asRanges()).isEmpty();
        assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement());
        assertFalse(rangeSet.contains(0));
        assertFalse(rangeSet.intersects(Range.singleton(0)));
        assertFalse(rangeSet.encloses(Range.singleton(0)));
        assertTrue(rangeSet.enclosesAll(rangeSet));
        assertTrue(rangeSet.isEmpty());
      }
    
      public void testAll() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      apply {
        this.headers = headers.newBuilder()
      }
    
    fun Request.Builder.commonCacheControl(cacheControl: CacheControl): Request.Builder {
      val value = cacheControl.toString()
      return when {
        value.isEmpty() -> removeHeader("Cache-Control")
        else -> header("Cache-Control", value)
      }
    }
    
    fun Request.Builder.commonGet(): Request.Builder = method("GET", null)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

                return Iterators.size(iterator());
              }
    
              @Override
              public boolean isEmpty() {
                return !iterator().hasNext();
              }
            };
          }
    
          Iterator<Entry<Range<K>, V>> entryIterator() {
            if (subRange.isEmpty()) {
              return emptyIterator();
            }
            Cut<K> cutToStart =
                MoreObjects.firstNonNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.isEmpty()) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("The property name is required to activate the profile " + profile.getId())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/MoreObjects.java

        }
    
        private static boolean isEmpty(Object value) {
          // Put types estimated to be the most frequent first.
          if (value instanceof CharSequence) {
            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top