Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Elem (0.21 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSet.java

          case 1:
            @SuppressWarnings("unchecked") // safe; elements contains only E's
            // requireNonNull is safe because the first `n` elements are non-null.
            E elem = (E) requireNonNull(elements[0]);
            return of(elem);
          default:
            // continue below to handle the general case
        }
        int tableSize = chooseTableSize(n);
        Object[] table = new Object[tableSize];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            private <T> Set<T> concat(Set<T> set, T elem) {
                Set<T> newSet = new HashSet<>(set);
                newSet.add(elem);
                return newSet;
            }
    
            @SuppressWarnings("checkstyle:parameternumber")
            private InterimResult build(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         * modifications, or we'll modify the already-built ImmutableMultiset.
         */
        boolean buildInvoked = false;
        /**
         * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
         * insertion order property of ObjectCountHashMap. In that event, we need to convert to a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

            add(elements.next());
          }
          return this;
        }
    
        private void dedupAndCoalesceAndDeleteEmpty() {
          dedupAndCoalesce(false);
    
          // If there was a setCount(elem, 0), those elements are still present.  Eliminate them.
          int size = 0;
          for (int i = 0; i < length; i++) {
            if (counts[i] > 0) {
              elements[size] = elements[i];
              counts[size] = counts[i];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  5. doc/go_spec.html

    an entry for each type parameter.
    </p>
    
    <p>
    For example, given the type equation with the bound type parameter
    <code>P</code>
    </p>
    
    <pre>
    	[10]struct{ elem P, list []P } ≡<sub>A</sub> [10]struct{ elem string; list []string }
    </pre>
    
    <p>
    type inference starts with an empty map.
    Unification first compares the top-level structure of the LHS and RHS
    types.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top