- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for getAndx (0.12 sec)
-
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
assertThat(indexed1.getIndex(), is(0)); assertThat(indexed1.getElement(), is("aaa")); final Indexed<String> indexed2 = it.next(); assertThat(indexed2.getIndex(), is(1)); assertThat(indexed2.getElement(), is("bbb")); final Indexed<String> indexed3 = it.next(); assertThat(indexed3.getIndex(), is(2)); assertThat(indexed3.getElement(), is("ccc"));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy
String toString() { return "[operation $name]" } Instant getEnd() { def instant = end.get() if (instant == null) { throw new IllegalStateException("Operation '$name' has not completed yet.") } return instant } Duration getDuration() { return getEnd() - start } void completed(Instant when) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/NestedExceptionPlaceholder.java
NestedExceptionPlaceholder(Kind kind, int index) { this.kind = kind; this.index = index; } public Kind getKind() { return kind; } public int getIndex() { return index; } enum Kind { cause, suppressed }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (Indexed<String%gt; indexed : indexed(iterable(reader))) { * System.out.println(indexed.getIndex());
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Indexed.java
* 要素を返します。 * * @return 要素 */ public T getElement() { return element; } /** * インデックスを返します。 * * @return インデックス */ public int getIndex() { return index; }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
public boolean hasOutput(long classId, long testId, TestOutputEvent.Destination destination) { if (dataFile == null) { return false; } Index index = getIndex(classId, testId); if (index == null) { return false; } else { Region region = destination == TestOutputEvent.Destination.StdOut ? index.stdOut : index.stdErr;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/xl-storage-free-version.go
if version.header.VersionID != uv || version.header.Type != ObjectType { continue } // if uv has tiered content we add a // free-version to track it for asynchronous // deletion via scanner. ver, err := x.getIdx(i) if err != nil { return err } if freeVersion, toFree := ver.ObjectV2.InitFreeVersion(fi); toFree { return x.addVersion(freeVersion) } return nil } return nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 3.4K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Apr 04 09:58:36 UTC 2024 - 23.3K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
for i, ver := range x.versions { if key == ver.header.VersionID { obj, err := x.getIdx(i) return i, obj, err } } return -1, nil, errFileVersionNotFound } func (x *xlMetaV2) getIdx(idx int) (ver *xlMetaV2Version, err error) { if idx < 0 || idx >= len(x.versions) { return nil, errFileNotFound } var dst xlMetaV2Version
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
final ParameterizedClassDesc[] parameterDescs = new ParameterizedClassDesc[parameterTypes.length]; for (final Indexed<Type> parameterType : indexed(iterable(parameterTypes))) { parameterDescs[parameterType.getIndex()] = createParameterizedClassDesc(parameterType.getElement(), map); } desc.setArguments(parameterDescs); return desc; }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.9K bytes - Viewed (0)