- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 522 for indexOf (0.18 sec)
-
guava/src/com/google/common/collect/ImmutableSortedAsList.java
return delegateCollection().comparator(); } // Override indexOf() and lastIndexOf() to be O(log N) instead of O(N). @GwtIncompatible // ImmutableSortedSet.indexOf // TODO(cpovirk): consider manual binary search under GWT to preserve O(log N) lookup @Override public int indexOf(@CheckForNull Object target) { int index = delegateCollection().indexOf(target);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
ForwardingImmutableList() {} abstract List<E> delegateList(); public int indexOf(@Nullable Object object) { return delegateList().indexOf(object); } public int lastIndexOf(@Nullable Object object) { return delegateList().lastIndexOf(object); } public E get(int index) { return delegateList().get(index); } public ImmutableList<E> subList(int fromIndex, int toIndex) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
} this.axesSizeProduct = axesSizeProduct; } private int getAxisIndexForProductIndex(int index, int axis) { return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); } @Override public int indexOf(@CheckForNull Object o) { if (!(o instanceof List)) { return -1; } List<?> list = (List<?>) o; if (list.size() != axes.size()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.addLast("1"); list.addLast("2"); list.addLast("3"); assertThat(list.indexOf(null), is(0)); assertThat(list.indexOf("1"), is(1)); assertThat(list.indexOf("2"), is(2)); assertThat(list.indexOf("3"), is(3)); assertThat(list.indexOf("4"), is(-1)); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
@Override @CheckForNull public E higher(E element) { return forward.lower(element); } @Override int indexOf(@CheckForNull Object target) { int index = forward.indexOf(target); if (index == -1) { return index; } else { return size() - 1 - index; } } @Override boolean isPartialView() { return forward.isPartialView(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SortedListsTest.java
int answer, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) { switch (presentBehavior) { case FIRST_PRESENT: if (list.contains(key)) { assertEquals(list.indexOf(key), answer); return; } break; case LAST_PRESENT: if (list.contains(key)) { assertEquals(list.lastIndexOf(key), answer); return; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.1K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
throw IllegalArgumentException(e) } } else { this.handshake = null } if (requestLine.isNotEmpty()) { val methodEnd = requestLine.indexOf(' ') val pathEnd = requestLine.indexOf(' ', methodEnd + 1) this.method = requestLine.substring(0, methodEnd) var path = requestLine.substring(methodEnd + 1, pathEnd) if (!path.startsWith("/")) { path = "/"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (2)