- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for indexFor (0.06 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
} private static Object getIndexedValue( final String expression, final int from, final int to, final Object value, final String indexStr) throws IntrospectionException { try { int index = Integer.parseInt(indexStr); if (value.getClass().isArray()) { return Array.get(value, index); } if (value instanceof List) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
getMap() .replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); }); List<Entry<K, V>> expectedEntries = new ArrayList<>(); for (Entry<K, V> entry : getSampleEntries()) { int index = keys().asList().indexOf(entry.getKey()); expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.indexOf(1)).isEqualTo(0); assertThat(iia.indexOf(8)).isEqualTo(5); assertThat(iia.indexOf(4)).isEqualTo(-1); assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0); assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1); assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0); } public void testIndexOf_specialValues() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
src/main/webapp/js/admin/popper.min.js
(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function j(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t){var o=e.offsets,n=o.popper,i=o.reference,r=$,p=function(e){return e},s=r(i.width),d=r(n.width),a=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),f=t?a||l||s%2==d%2?r:Z:p,m=t?r:p;return{left:f(1==s%2&&1==d%2&&!l&&t?n....
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 20.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
result = getProjectsInRequestScope(request, activeProjects); List<MavenProject> sortedProjects = graph.getSortedProjects(); result.sort(comparing(sortedProjects::indexOf)); result = includeAlsoMakeTransitively(result, request, graph); } return result; } private List<MavenProject> trimSelectedProjects(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.indexOf(1)).isEqualTo(0); assertThat(iia.indexOf(8)).isEqualTo(5); assertThat(iia.indexOf(4)).isEqualTo(-1); assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0); assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1); assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0); } public void testIndexOf_specialValues() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(0, copy.indexOf(list.get(0))); assertEquals(0, head.indexOf(list.get(0))); assertEquals(0, tail.indexOf(list.get(1))); // The following assumes all elements are distinct. assertEquals(size - 1, copy.indexOf(list.get(size - 1))); assertEquals(size - 2, head.indexOf(list.get(size - 2))); assertEquals(size - 2, tail.indexOf(list.get(size - 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(0, copy.indexOf(list.get(0))); assertEquals(0, head.indexOf(list.get(0))); assertEquals(0, tail.indexOf(list.get(1))); // The following assumes all elements are distinct. assertEquals(size - 1, copy.indexOf(list.get(size - 1))); assertEquals(size - 2, head.indexOf(list.get(size - 2))); assertEquals(size - 2, tail.indexOf(list.get(size - 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
return parent.get(index); } @Override public boolean contains(@CheckForNull Object target) { return indexOf(target) >= 0; } @Override public int indexOf(@CheckForNull Object target) { return target instanceof Long ? parent.indexOf((Long) target) : -1; } @Override public int lastIndexOf(@CheckForNull Object target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
return parent.get(index); } @Override public boolean contains(@CheckForNull Object target) { return indexOf(target) >= 0; } @Override public int indexOf(@CheckForNull Object target) { return target instanceof Integer ? parent.indexOf((Integer) target) : -1; } @Override public int lastIndexOf(@CheckForNull Object target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0)