Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 321 for indexFor (0.06 seconds)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      public List<String> order(List<String> insertionOrder) {
                        List<String> order = new ArrayList<>();
                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public boolean containsValue(final Object value) {
            return indexOf(value) >= 0;
        }
    
        /**
         * Returns the index for the specified value.
         *
         * @param value
         *            the value
         * @return the index for the value, or {@literal -1} if the value is not contained
         */
        public int indexOf(final Object value) {
            if (value != null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

            for (int i = parser.getAttributeCount() - 1; i >= 0; i--) {
                String name = parser.getAttributeName(i);
                String value = parser.getAttributeValue(i);
    
                if (name.indexOf(':') >= 0) {
                    // just ignore attributes with non-default namespace (for example: xmlns:xsi)
                } else {
                    checkUnknownAttribute(parser, name, tagName, strict);
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

                parent.add(index, element);
            }
    
            public E remove(final int index) {
                return parent.remove(index);
            }
    
            public int indexOf(final Object o) {
                return parent.indexOf(o);
            }
    
            public int lastIndexOf(final Object o) {
                return parent.lastIndexOf(o);
            }
    
            public ListIterator<E> listIterator() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

            // Group archived keys by session
            for (String key : sessionKeys.keySet()) {
                if (key.contains(".v")) {
                    String baseSession = key.substring(0, key.indexOf(".v"));
                    sessionArchives.computeIfAbsent(baseSession, k -> new java.util.ArrayList<>()).add(key);
                }
            }
    
            // Remove old versions
            int removed = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            private String insertRepositoryKey(String filename, String repositoryKey) {
                String result;
                int idx = filename.indexOf('.');
                if (idx < 0) {
                    result = filename + '-' + repositoryKey;
                } else {
                    result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        return intersectionInCurrentDomain(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
      }
    
      @GwtIncompatible // not used by GWT emulation
      @Override
      int indexOf(@Nullable Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains check—at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                String string,
                String sourceHint,
                String banned) {
            if (string != null) {
                for (int i = string.length() - 1; i >= 0; i--) {
                    if (banned.indexOf(string.charAt(i)) >= 0) {
                        addViolation(
                                problems,
                                severity,
                                fieldName,
                                sourceHint,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            }
            if (address instanceof Inet6Address) {
                final String hostAddress = address.getHostAddress();
                // Remove zone ID if present (e.g., %eth0)
                final int percentIndex = hostAddress.indexOf('%');
                final String cleanAddress = percentIndex >= 0 ? hostAddress.substring(0, percentIndex) : hostAddress;
                // Compress the IPv6 address
                final String compressed = compressIPv6(cleanAddress);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          return new RegularImmutableSortedSet<>(
              elements.subList(newFromIndex, newToIndex), comparator);
        } else {
          return emptySet(comparator);
        }
      }
    
      @Override
      int indexOf(@Nullable Object target) {
        if (target == null) {
          return -1;
        }
        int position;
        try {
          position = Collections.binarySearch(elements, target, unsafeComparator());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top