- Sort Score
- Num 10 results
- Language All
Results 2981 - 2990 of 5,478 for newA (0.02 seconds)
-
guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java
String[] array = {"a", "b", "c"}; Iterator<String> iterator = new UnmodifiableIterator<String>() { int i; @Override public boolean hasNext() { return i < array.length; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); } return array[i++];
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java
} @Override public TokenStream create(TokenStream tokenStream) { if (removeTrailing) { return new StopFilter(tokenStream, stopWords); } else { return new SuggestStopFilter(tokenStream, stopWords); } } public Set<?> stopWords() { return stopWords; } public boolean ignoreCase() {Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
void testConstructorInitialization() { // Given int access = 0x01; // Example access value int rid = 123; // Example RID value // When MsrpcSamrOpenAlias msrpcSamrOpenAlias = new MsrpcSamrOpenAlias(mockDomainHandle, access, rid, mockAliasHandle); // Then assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java
private final Map<String, MavenProject> projects; private final Map<String, Integer> indices; public ProjectIndex(List<MavenProject> projects) { this.projects = new HashMap<>(projects.size() * 2); this.indices = new HashMap<>(projects.size() * 2); for (int i = 0; i < projects.size(); i++) { MavenProject project = projects.get(i); String key = BuilderCommon.getKey(project);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachUnknownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); assertEqualIgnoringOrder(asList(createSamplesArray()), elements); } @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java
List<MetadataGraphNode> inNodes; /** nodes, exident to this (I depend on) */ List<MetadataGraphNode> exNodes; public MetadataGraphNode() { inNodes = new ArrayList<>(4); exNodes = new ArrayList<>(8); } public MetadataGraphNode(MavenArtifactMetadata metadata) { this(); this.metadata = metadata; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbFileHandleTest.java
* * @throws CIFSException */ @Test void testCloseWithLastWriteTime_throwsCIFSException() throws CIFSException { long lastWriteTime = System.currentTimeMillis(); doThrow(new CIFSException("Failed to close")).when(smbFileHandle).close(lastWriteTime); assertThrows(CIFSException.class, () -> smbFileHandle.close(lastWriteTime), "close(long) should throw CIFSException when closing fails.");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java
} } @Override protected int execute(EncryptContext context) throws Exception { try { context.header = new ArrayList<>(); context.style = new AttributedStyle(); context.addInHeader( context.style.italic().bold().foreground(Colors.rgbColor("green")),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java
} } @Override protected int execute(UpgradeContext context) throws Exception { try { context.header = new ArrayList<>(); context.style = new AttributedStyle(); context.addInHeader( context.style.italic().bold().foreground(Colors.rgbColor("green")),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
private final int columnNumber; private final String message; private final Exception exception; private final Severity severity; /** * Creates a new problem with the specified message and exception. * * @param message The message describing the problem, may be {@code null}. * @param severity The severity level of the problem, may be {@code null} to default toCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0)