- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,894 for booleans (0.03 sec)
-
src/main/java/org/codelibs/core/collection/LruHashSet.java
*/ @Override public boolean isEmpty() { return map.isEmpty(); } /** * Returns true if this set contains the specified element. * * @param o * element whose presence in this set is to be tested. * @return true if this set contains the specified element. */ @Override public boolean contains(final Object o) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
private val renameFaults: MutableSet<Path> = LinkedHashSet() fun setFaultyWrite( file: Path, faulty: Boolean, ) { if (faulty) { writeFaults.add(file) } else { writeFaults.remove(file) } } fun setFaultyDelete( file: Path, faulty: Boolean, ) { if (faulty) { deleteFaults.add(file) } else { deleteFaults.remove(file) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
*/ public static boolean deployBuildPom(@Nullable Map<String, ?> userProperties) { return doGet(userProperties, Constants.MAVEN_DEPLOY_BUILD_POM, true); } private static boolean doGet(Properties userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
*/ protected static boolean check(final String[] protocols, final String value) { final String[] paths = value.split("[\r\n]"); for (final String path : paths) { if (StringUtil.isNotBlank(path) && !path.trim().startsWith("#")) { boolean flag = false; for (final String protocol : protocols) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
*/ public static final boolean isEmpty(final String text) { return text == null || text.length() == 0; } /** * Checks if the string is not empty. * * @param text the string to check * @return true if not empty, false otherwise */ public static final boolean isNotEmpty(final String text) { return !isEmpty(text); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
* * @return an {@link Optional} containing the boolean flag, or empty if not set */ @Nonnull Optional<Boolean> showVersionAndExit(); /** * Indicates whether to show the version information. * * @return an {@link Optional} containing the boolean flag, or empty if not set */ @Nonnull Optional<Boolean> showVersion(); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
boolean dummy = false; for (int i = 0; i < reps; i++) { dummy ^= Ascii.equalsIgnoreCase(lhs, rhs); } return dummy; } @Benchmark boolean equalsIgnoreCaseJDK(int reps) { // This benchmark has no concept of "noWorkToDo". String lhs = testString; String rhs = testString.toUpperCase(); boolean dummy = false;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
*/ boolean disconnect(boolean hard, boolean inuse) throws IOException; /** * Ensures the transport is connected to the remote server. * * @return whether the transport was connected * @throws SmbException if an SMB error occurs * @throws IOException if an I/O error occurs */ boolean ensureConnected() throws IOException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When boolean valid = response.isValid(mockContext, mockRequest); // Then assertTrue(valid); assertEquals(DialectVersion.SMB311, response.getSelectedDialect()); } @Test @DisplayName("Should fail validation when not received") void testIsValidNotReceived() { // When boolean valid = response.isValid(mockContext, mockRequest);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
/** * Ensures the truth of an expression involving one or more parameters to the calling method. * * @param expression a boolean expression * @throws IllegalArgumentException if {@code expression} is false */ public static void checkArgument(boolean expression) { if (!expression) { throw new IllegalArgumentException(); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0)