Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2401 - 2410 of 4,689 for nulls (0.02 seconds)

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

     *
     * <p>Another example is an iterator that skips over null elements in a backing iterator. This could
     * be implemented as:
     *
     * {@snippet :
     * public static Iterator<String> skipNulls(final Iterator<String> in) {
     *   return new AbstractIterator<String>() {
     *     protected String computeNext() {
     *       while (in.hasNext()) {
     *         String s = in.next();
     *         if (s != null) {
     *           return s;
     *         }
     *       }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                @Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .groupId(requireNonNull(coordinates, "coordinates cannot be null")
                            .getGroupId())
                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().toString())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/DenseImmutableTable.java

      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Integer rowIndex = rowKeyToIndex.get(rowKey);
        Integer columnIndex = columnKeyToIndex.get(columnKey);
        return ((rowIndex == null) || (columnIndex == null)) ? null : values[rowIndex][columnIndex];
      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test string sanitization for logging")
        void testSanitizeForLogging() {
            // Test null input
            assertEquals("null", InputValidator.sanitizeForLogging(null));
    
            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         *
         * @return the session instance, never {@code null}
         */
        @Nonnull
        S getSession();
    
        /**
         * Returns the trace information associated with this request, if any.
         * The trace provides context about the request's position in the operation
         * hierarchy and can carry additional diagnostic information.
         *
         * @return the request trace, or {@code null} if no trace information is available
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                            }
                        },
                        true))) {
                    TransferResource resource =
                            new TransferResource(null, null, "http://maven.org/test/test-resource", new File(""), null);
                    resource.setContentLength(size - 1);
    
                    DefaultRepositorySystemSession session =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

      internal var queue: TaskQueue? = null
    
      /** Undefined unless this is in [TaskQueue.futureTasks]. */
      internal var nextExecuteNanoTime = -1L
    
      /** Returns the delay in nanoseconds until the next execution, or -1L to not reschedule. */
      abstract fun runOnce(): Long
    
      internal fun initQueue(queue: TaskQueue) {
        if (this.queue === queue) return
    
        check(this.queue === null) { "task is in multiple queues" }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         *
         * @param <T> the type of the object
         * @param constructor the constructor (must not be {@literal null})
         * @param args the array of objects to be passed as arguments to the constructor invocation
         * @return a new object created by invoking the constructor
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java

        public void test_nullInput() throws Exception {
            FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
    
            String result = normalizer.normalize(null, "field");
    
            assertEquals(null, result);
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top