Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for isNotEmpty (0.1 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *
         * @param <T>
         *            配列の要素の型
         * @param arrays
         *            配列
         * @return 配列が{@literal null}でも長さが0でもない場合は{@literal true}
         */
        public static <T> boolean isNotEmpty(final T[] arrays) {
            return arrays != null && arrays.length != 0;
        }
    
        /**
         * 配列が{@literal null}または長さが0の場合は{@literal true}を返します。
         *
         * @param arrays
         *            配列
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              }
            }
          }
        }
    
      internal fun kickCoordinator(taskQueue: TaskQueue) {
        lock.assertHeld()
    
        if (taskQueue.activeTask == null) {
          if (taskQueue.futureTasks.isNotEmpty()) {
            readyQueues.addIfAbsent(taskQueue)
          } else {
            readyQueues.remove(taskQueue)
          }
        }
    
        if (coordinatorWaiting) {
          backend.coordinatorNotify(this@TaskRunner)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            in 8..9 -> {
              id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 10..12 -> {
              id = null // 'id' on a line of its own.
            }
    
            in 13..14 -> {
              type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 15..17 -> {
              type = null // 'event' on a line of its own
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

    ) {
    
        private
        val classes: MutableMap<String, ClassDetails> = linkedMapOf()
    
        val entryPoints: MutableSet<ClassDetails> = linkedSetOf()
    
        val shadowPackagePrefix =
            shadowPackage.takeIf(String::isNotEmpty)
                ?.let { it.replace('.', '/') + "/" }
                ?: ""
    
        operator fun get(className: String) =
            classes.computeIfAbsent(className) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/Gradleception.kt

        labels += "Java$version $vendor"
        labels += "Linux"
        val idSuffix = if (idParts.isNotEmpty()) {
            "With${idParts.joinToString(separator = "And")}"
        } else ""
        id("${model.projectId}_Gradleception$idSuffix")
        name = "Gradleception - ${labels.joinToString(separator = " ")}"
        val descriptionSuffix = if (descriptionParts.isNotEmpty()) {
            " (${descriptionParts.joinToString(separator = ", ")})"
        } else ""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 08 12:58:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNotNull
    import java.io.IOException
    import java.net.InetAddress
    import java.util.concurrent.CompletableFuture
    import java.util.concurrent.TimeUnit.SECONDS
    import javax.net.ssl.SNIHostName
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

    import static java.text.DateFormat.getDateInstance;
    import static org.codelibs.core.collection.MultiIterator.iterable;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.text.DateFormat;
    import java.text.ParsePosition;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        protected
        fun getContributorsInReleaseNotes(): Set<GitHubUser> {
            val (_, contributorLines, _) = parseReleaseNotes()
            return contributorLines
                .map { it.trim() }
                .filter { it.isNotEmpty() }
                .onEach { check(contributorLineRegex.containsMatchIn(it)) { "Invalid contributor line: $it" } }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

          plans += it
        }
      }
    
      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/JSSETest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEmpty
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.TestUtil.assumeNetwork
    import okhttp3.internal.connection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top