Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 836 for IsEmpty (0.09 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          for (int base : bases) {
            assertThat(Long.toString(a, base)).isEqualTo(UnsignedInts.toString((int) a, base));
          }
        }
      }
    
      public void testJoin() {
        assertThat(join()).isEmpty();
        assertThat(join(1)).isEqualTo("1");
        assertThat(join(1, 2)).isEqualTo("1,2");
        assertThat(join(-1, Integer.MIN_VALUE)).isEqualTo("4294967295,2147483648");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    }
    
                    Set<Artifact> directArtifacts = resolutionGroup.getArtifacts();
    
                    if (artifacts == null || artifacts.isEmpty()) {
                        artifacts = directArtifacts;
                    } else {
                        List<Artifact> allArtifacts = new ArrayList<>();
                        allArtifacts.addAll(artifacts);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedListMultimap.java

          nextIndex++;
          current = null;
        }
      }
    
      // Query Operations
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      public boolean isEmpty() {
        return head == null;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return keyToKeyList.containsKey(key);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  4. internal/s3select/csv/reader.go

    			}
    		}()
    	}
    	return nil
    }
    
    // NewReader - creates new CSV reader using readCloser.
    func NewReader(readCloser io.ReadCloser, args *ReaderArgs) (*Reader, error) {
    	if args == nil || args.IsEmpty() {
    		panic(fmt.Errorf("empty args passed %v", args))
    	}
    	csvIn := io.Reader(readCloser)
    	if args.RecordDelimiter != "\n" {
    		csvIn = &recordTransform{
    			reader:          readCloser,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        if (cls.isEnum()) {
          return;
        }
        List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls)));
        if (factories.isEmpty()) {
          return;
        }
        int numberOfParameters = factories.get(0).getParameters().size();
        List<ParameterNotInstantiableException> paramErrors = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock.go

    				l.Status = st
    			default:
    				return xml.UnmarshalError(fmt.Sprintf("expected element type <Status> but have <%s>", se.Name.Local))
    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if struct is empty
    func (l *ObjectLegalHold) IsEmpty() bool {
    	return !l.Status.Valid()
    }
    
    // ParseObjectLegalHold decodes the XML into ObjectLegalHold
    func ParseObjectLegalHold(reader io.Reader) (hold *ObjectLegalHold, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Request.kt

        }
    
        internal constructor(request: Request) {
          this.url = request.url
          this.method = request.method
          this.body = request.body
          this.tags =
            when {
              request.tags.isEmpty() -> mapOf()
              else -> request.tags.toMutableMap()
            }
          this.headers = request.headers.newBuilder()
          this.cacheUrlOverride = request.cacheUrlOverride
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(subset).containsExactly("b", "c", "d", "e").inOrder();
    
        subset.clear();
        assertThat(elementSet).containsExactly("a", "f").inOrder();
        assertThat(subset).isEmpty();
        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

            assertThat(UnsignedBytes.toString((byte) i, radix)).isEqualTo(Integer.toString(i, radix));
          }
        }
      }
    
      public void testJoin() {
        assertThat(UnsignedBytes.join(",", new byte[] {})).isEmpty();
        assertThat(UnsignedBytes.join(",", new byte[] {(byte) 1})).isEqualTo("1");
        assertThat(UnsignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        ArrayTableImpl {
          @Override
          <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
              Table<R, C, V> contents) {
            if (contents.isEmpty()) {
              return ImmutableTable.of();
            } else {
              return ArrayTable.create(contents);
            }
          }
        },
        ImmutableTableImpl {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top