Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for unmodifiableList (0.22 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    List<String> innerList = new ArrayList<>();
                    Collections.addAll(innerList, elements);
                    return unmodifiableList(innerList);
                  }
                })
            .named("unmodifiableList/ArrayList")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ANY)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

                versions.addAll(ideWorkspace.findVersions(artifact));
            }
    
            versions.addAll(userLocalArtifactRepository.findVersions(artifact));
    
            return Collections.unmodifiableList(new ArrayList<>(versions));
        }
    
        public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      fun queuedCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(readyAsyncCalls.map { it.call })
        }
    
      /** Returns a snapshot of the calls currently being executed. */
      fun runningCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call })
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

       * an ImmutableList)
       */
      public List<LogRecord> getStoredLogRecords() {
        synchronized (lock) {
          List<LogRecord> result = new ArrayList<>(list);
          return Collections.unmodifiableList(result);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            return messages.size();
        }
    
        public String getMessage(int i) {
            return messages.get(i);
        }
    
        public List<String> getMessages() {
            return Collections.unmodifiableList(messages);
        }
    
        public void addMessage(String message) {
            messages.add(message);
        }
    
        public String toString() {
            return render("");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.IteratorTester;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.IteratorTester;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List)
                        entry.getValue()));
            }
            return (headerFields = Collections.unmodifiableMap(map));
        }
    
        public Map getHeaderFields() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/TestLogHandler.java

       * an ImmutableList)
       */
      public List<LogRecord> getStoredLogRecords() {
        synchronized (lock) {
          List<LogRecord> result = new ArrayList<>(list);
          return Collections.unmodifiableList(result);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         */
        public List<ModelProblem> getProblems() {
            if (result == null) {
                return Collections.emptyList();
            }
            return Collections.unmodifiableList(result.getProblems());
        }
    
        private static String toMessage(ModelBuildingResult result) {
            if (result != null && !result.getModelIds().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top