Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for indexOf (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                (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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
    
        @Override
        public Long get(int index) {
          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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
    
        @Override
        public Integer get(int index) {
          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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            String url = u.trim();
    
            int idx = url.indexOf('#');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            url = url.replace("/./", "/");
    
            idx = url.indexOf(";jsessionid");
            if (idx >= 0) {
                url = url.replaceFirst(";jsessionid=[a-zA-Z0-9\\.]*", "");
            }
    
            if (url.indexOf(' ') >= 0) {
                url = url.replace(" ", "%20");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top