Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 838 for useEmpty (0.07 sec)

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

        entryIterator.next();
        entryIterator.remove();
        assertFalse(underlying.containsKey("g"));
    
        assertTrue(underlying.isEmpty());
        assertTrue(map.isEmpty());
        assertTrue(keys.isEmpty());
        assertTrue(values.isEmpty());
        assertTrue(entries.isEmpty());
      }
    
      public void testTransformEquals() {
        Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top