- Sort Score
- Result 10 results
- Languages All
Results 61 - 67 of 67 for singletonList (0.11 sec)
-
android/guava/src/com/google/common/collect/ImmutableList.java
return (ImmutableList<E>) EMPTY; } /** * Returns an immutable list containing a single element. This list behaves and performs * comparably to {@link Collections#singletonList}, but will not accept a null element. It is * preferable mainly for consistency and maintainability of your code. * * @throws NullPointerException if the element is null */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
this.layout.put(key, new Layout(commentLines, null)); return storage.put(key, value); } public String put(String key, String comment, String value) { return put(key, Collections.singletonList(comment), value); } public boolean update(Map<String, String> props) { MavenProperties properties; if (props instanceof MavenProperties) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
repository.getLayout(), repository.getSnapshots(), repository.getReleases()); repository.setMirroredRepositories(Collections.singletonList(original)); repository.setId(mirror.getId()); repository.setUrl(mirror.getUrl()); if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
result.setOriginatingArtifact(originatingArtifact); if (conflictResolvers == null) { conflictResolvers = Collections.singletonList(defaultConflictResolver); } Map<Object, List<ResolutionNode>> resolvedArtifacts = new LinkedHashMap<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 36.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
repository.getLayout(), repository.getSnapshots(), repository.getReleases()); repository.setMirroredRepositories(Collections.singletonList(original)); repository.setId(mirror.getId()); repository.setUrl(mirror.getUrl()); if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Object object = new Object() { @Override public String toString() { return new String(new char[50_000]); } }; List<Object> list = Collections.singletonList(object); for (int i = 0; i < 10; i++) { Object[] array = new Object[500]; Arrays.fill(array, list); list = Arrays.asList(array); } future2.set(list);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
return (ImmutableList<E>) EMPTY; } /** * Returns an immutable list containing a single element. This list behaves and performs * comparably to {@link Collections#singletonList}, but will not accept a null element. It is * preferable mainly for consistency and maintainability of your code. * * @throws NullPointerException if the element is null */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 19:14:45 UTC 2024 - 30.5K bytes - Viewed (0)