- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,258 for asText (0.05 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java
return new EnumMultiset<>(new EnumMap<E, Count>(type)); } public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { Iterator<E> iterator = elements.iterator(); checkArgument(iterator.hasNext(), "EnumMultiset constructor passed empty Iterable"); EnumMap<E, Count> map = new EnumMap<>(getDeclaringClassOrObjectForJ2cl(iterator.next())); EnumMultiset<E> multiset = new EnumMultiset<>(map);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
assertTrue(iterator.hasNext()); assertEquals(doc1, iterator.next()); assertTrue(iterator.hasNext()); assertEquals(doc2, iterator.next()); assertFalse(iterator.hasNext()); // Test listIterator ListIterator<Map<String, Object>> listIterator = qrList.listIterator(); assertTrue(listIterator.hasNext()); assertEquals(doc1, listIterator.next());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 40.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
*/ package org.codelibs.fess.suggest.converter; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.List; import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.settings.SuggestSettings;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiReader.java
this.it = readers; advance(); } /** Closes the current reader and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { current = it.next().openStream(); } } @Override public int read(char[] cbuf, int off, int len) throws IOException { checkNotNull(cbuf); if (current == null) { return -1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); byte[] buffer = new byte[6]; // Assert that an IOException is thrown with the expected message. IOException thrown = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(mockInputStream, buffer, 0); });Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass) def setup() { instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null } Map getInitializationParams() { return [ publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import java.util.Map; import java.util.ResourceBundle; import org.junit.Test; /** * @author higa * */ public class ResourceBundleUtilTest { /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertEquals; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import org.codelibs.core.exception.NullArgumentException; import org.junit.After; import org.junit.Before;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
public boolean include(Artifact artifact) { String id = artifact.getGroupId() + ":" + artifact.getArtifactId(); boolean matched = false; for (Iterator<String> i = patterns.iterator(); i.hasNext() & !matched; ) { // TODO what about wildcards? Just specifying groups? versions? if (id.equals(i.next())) { matched = true; } } return matched;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
package com.google.common.graph; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableSet; import java.util.HashSet; import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) @NullUnmarked
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0)