Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 180 for requireNonNull (0.1 sec)

  1. guava/src/com/google/common/collect/LinkedHashMultimap.java

        }
    
        @Override
        public ValueSetLink<K, V> getPredecessorInValueSet() {
          return requireNonNull(predecessorInValueSet); // see the comment on the class fields
        }
    
        @Override
        public ValueSetLink<K, V> getSuccessorInValueSet() {
          return requireNonNull(successorInValueSet); // see the comment on the class fields
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumBiMap.java

      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeMultiset.java

          switch (balanceFactor()) {
            case -2:
              // requireNonNull is safe because right must exist in order to get a negative factor.
              requireNonNull(right);
              if (right.balanceFactor() > 0) {
                right = right.rotateRight();
              }
              return rotateLeft();
            case 2:
              // requireNonNull is safe because left must exist in order to get a positive factor.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

        @Override
        public void write(Writer output, Map<String, Object> options, PersistedToolchains toolchains) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(toolchains, "toolchains cannot be null");
    
            try (Writer out = output) {
                new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                  0,
                  size,
                  (e1, e2) -> {
                    // requireNonNull is safe because the first `size` elements have been filled in.
                    requireNonNull(e1);
                    requireNonNull(e2);
                    return comparator.compare(e1.getKey(), e2.getKey());
                  });
              // requireNonNull is safe because the first `size` elements have been filled in.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

            this.params = Objects.requireNonNull(params);
            return this;
        }
    
        public List<String> activeFeatures() {
            return activeFeatures;
        }
    
        public StoredLtrQueryBuilder activeFeatures(final List<String> activeFeatures) {
            this.activeFeatures = Objects.requireNonNull(activeFeatures);
            return this;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

            out.append(format.normalizeFirstWord(s.substring(i, j)));
          } else {
            requireNonNull(out).append(format.normalizeWord(s.substring(i, j)));
          }
          out.append(format.wordSeparator);
          i = j + wordSeparator.length();
        }
        return (i == 0)
            ? format.normalizeFirstWord(s)
            : requireNonNull(out).append(format.normalizeWord(s.substring(i))).toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ContiguousSet.java

        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
          C beforeUpper = requireNonNull(range.upperBound.greatestValueBelow(domain));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

    import org.apache.maven.artifact.handler.DefaultArtifactHandler;
    import org.apache.maven.eventspy.AbstractEventSpy;
    import org.apache.maven.execution.ExecutionEvent;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultArtifactHandlerManager extends AbstractEventSpy implements ArtifactHandlerManager {
        private final TypeRegistry typeRegistry;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top