- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 1,161 for IsEmpty (0.2 seconds)
-
guava/src/com/google/common/base/Platform.java
} static String formatCompact4Digits(double value) { return String.format(Locale.ROOT, "%.4g", value); } static boolean stringIsNullOrEmpty(@Nullable String string) { return string == null || string.isEmpty(); } /** * Returns the string if it is not null, or an empty string otherwise. * * @param string the string to test and possibly return * @return {@code string} if it is not null; {@code ""} otherwise
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
CacheBuilderSpec spec = new CacheBuilderSpec(cacheBuilderSpecification); if (!cacheBuilderSpecification.isEmpty()) { for (String keyValuePair : KEYS_SPLITTER.split(cacheBuilderSpecification)) { List<String> keyAndValue = ImmutableList.copyOf(KEY_VALUE_SPLITTER.split(keyValuePair)); checkArgument(!keyAndValue.isEmpty(), "blank key-value pair"); checkArgument( keyAndValue.size() <= 2,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
CacheBuilderSpec spec = new CacheBuilderSpec(cacheBuilderSpecification); if (!cacheBuilderSpecification.isEmpty()) { for (String keyValuePair : KEYS_SPLITTER.split(cacheBuilderSpecification)) { List<String> keyAndValue = ImmutableList.copyOf(KEY_VALUE_SPLITTER.split(keyValuePair)); checkArgument(!keyAndValue.isEmpty(), "blank key-value pair"); checkArgument( keyAndValue.size() <= 2,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
assertFalse(testInstance.containsValue("blah")); } } public void testIsEmpty() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertFalse(testInstance.isEmpty()); } } public void testForCells() { assertTrue(RegularImmutableTable.forCells(CELLS) instanceof DenseImmutableTable<?, ?, ?>); assertTrue( RegularImmutableTable.forCells(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
assertEmpty(result); assertEquals(0, result.size()); } @CollectionSize.Require(absent = ZERO) public void testGetNonEmpty() { Collection<V> result = multimap().get(k0()); assertFalse(result.isEmpty()); assertContentsAnyOrder(result, v0()); } @CollectionSize.Require(SEVERAL) public void testGetMultiple() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v2()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
keysByAlgo.put(key.getKeyType(), key); } KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue()); if (keysByAlgo.isEmpty() || serverKey == null) { throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue()); } try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
String base = basedir.getAbsolutePath(); if (path.startsWith(base)) { path = chopLeadingFileSeparator(path.substring(base.length())); } if (path.isEmpty()) { path = "."; } if (!new File(path).isAbsolute()) { path = path.replace('\\', '/'); } return path; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
// Execute CorsHandlerFactory factory = new CorsHandlerFactory(); // Verify assertNotNull(factory); assertNotNull(factory.handerMap); assertTrue(factory.handerMap.isEmpty()); } // Test implementation of CorsHandler for testing purposes private static class TestCorsHandler extends CorsHandler { private final String name;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
* @param client The CrawlerClient instance. */ public void addClient(final List<String> regexList, final CrawlerClient client) { if (regexList == null || regexList.isEmpty()) { throw new CrawlerSystemException("A regular expression list is null or empty."); } if (client == null) { throw new CrawlerSystemException("CrawlerClient is null."); }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 7.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java
List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments(session); projectBuilds = buildListCalculator.calculateProjectBuilds(session, taskSegments); if (projectBuilds.isEmpty()) { throw new NoGoalSpecifiedException("No goals have been specified for this build." + " You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or"
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.8K bytes - Click Count (0)