Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 517 for elemLen (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

          if (exception == null) {
            exception = ioe
          }
        }
      }
      if (exception != null) {
        throw exception
      }
    }
    
    internal fun <E> MutableList<E>.addIfAbsent(element: E) {
      if (!contains(element)) add(element)
    }
    
    internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable =
      apply {
        for (e in suppressed) addSuppressed(e)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        }
    
        /**
         * Returns the element type of an array with parameterized types.
         * <p>
         * If <code>type</code> is not an array of parameterized types, <code>null</code> is returned.
         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the array, or null if not an array of parameterized types
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
          public boolean add(T element) {
            return data.add(element);
          }
    
          @Override
          public void add(int index, T element) {
            data.add(index, element);
          }
    
          @Override
          public T remove(int index) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListHashCodeTester<E> extends AbstractListTester<E> {
      public void testHashCode() {
        int expectedHashCode = 1;
        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Java 8+ users:</b> Use {@code Streams.stream(iterator).min(thisComparator).get()} instead
       * (but note that it does not guarantee which tied minimum element is returned).
       *
       * @param iterator the iterator whose minimum element is to be determined
       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * @author wyukawa
     * @param <T> the element type
     * @see Indexed
     */
    public class IndexedIterator<T> implements Iterator<Indexed<T>> {
    
        /** {@link Iterator} */
        protected final Iterator<T> iterator;
    
        /** The index of the iterator. */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         *
         * @param converter
         *            The converter. Must not be {@literal null}.
         * @param propertyNames
         *            The property names to which this converter will be applied. Each element must not be {@literal null} or an empty string.
         * @return A {@link CopyOptions} with the specified converter applied.
         * @see CopyOptions#converter(Converter, CharSequence...)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. schema/utils.go

    	case reflect.Slice, reflect.Array:
    		for i := 0; i < reflectValue.Len(); i++ {
    			elem := reflectValue.Index(i)
    			elemKey := elem.Interface()
    			if elem.Kind() != reflect.Ptr && elem.CanAddr() {
    				elemKey = elem.Addr().Interface()
    			}
    
    			if _, ok := loaded[elemKey]; ok {
    				continue
    			}
    			loaded[elemKey] = true
    
    			fieldValues := make([]interface{}, len(fields))
    			notZero = false
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ValueGraph.java

       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      @Override
      ElementOrder<N> incidentEdgeOrder();
    
      //
      // Element-level accessors
      //
    
      /**
       * Returns a live view of the nodes which have an incident edge in common with {@code node} in
       * this graph.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
      private final Set<Feature<? super Collection>> implied;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top