Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 836 for isEmpty (0.19 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testLineReading() throws IOException {
        File temp = createTempFile();
        assertNull(Files.readFirstLine(temp, UTF_8));
        assertTrue(Files.readLines(temp, UTF_8).isEmpty());
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead,
       * replacing {@code Booleans.contains(array, true)} with {@code !bitSet.isEmpty()} and {@code
       * Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}.
       *
       * @param array an array of {@code boolean} values, possibly empty
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead,
       * replacing {@code Booleans.contains(array, true)} with {@code !bitSet.isEmpty()} and {@code
       * Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}.
       *
       * @param array an array of {@code boolean} values, possibly empty
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transformedList = transform(SOME_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformSequentialIsNotEmpty() {
        List<String> transformedList = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformListIteratorRandomAccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transformedList = transform(SOME_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformSequentialIsNotEmpty() {
        List<String> transformedList = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformListIteratorRandomAccess() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    sb.append(LS);
                    sb.append("from the specified remote repositories:");
                    sb.append(LS).append("  ");
    
                    if (remoteRepositories.isEmpty()) {
                        sb.append("(none)");
                    }
    
                    for (Iterator<ArtifactRepository> i = remoteRepositories.iterator(); i.hasNext(); ) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    /** Returns the date for this string, or null if the value couldn't be parsed. */
    fun String.toHttpDateOrNull(): Date? {
      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
    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-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public Iterator<E> iterator() {
          return standardIterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        registry.unregister(s1);
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.unregister(s2);
        assertTrue(registry.getSubscribersForTesting(String.class).isEmpty());
      }
    
      public void testUnregister_notRegistered() {
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        StringSubscriber s1 = new StringSubscriber();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // -------------------------------------------------------------------------------------
    
            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top