- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 503 for asList (0.13 sec)
-
guava/src/com/google/common/base/MoreObjects.java
* throws a {@link NullPointerException}. * * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable, * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...), * Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can beRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers()))); } public void testAsList() { ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList(); for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); } assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
source.addArtifact(spec); } return spec; } @SuppressWarnings("unchecked") private static Set<Artifact> createSet(Object[] x) { return new LinkedHashSet(Arrays.asList(x)); } private class ArtifactSpec { private Artifact artifact; private Set<Artifact> dependencies = new HashSet<>();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* copying anything. The exact circumstances under which the copy is performed are undefined and * subject to change. * * @since 2.0 */ public ImmutableList<E> asList() { switch (size()) { case 0: return ImmutableList.of(); case 1: return ImmutableList.of(iterator().next()); default:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* * @since 19.0 */ public static HashFunction concatenating( HashFunction first, HashFunction second, HashFunction... rest) { // We can't use Lists.asList() here because there's no hash->collect dependency List<HashFunction> list = new ArrayList<>(); list.add(first); list.add(second); Collections.addAll(list, rest);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* copying anything. The exact circumstances under which the copy is performed are undefined and * subject to change. * * @since 2.0 */ public ImmutableList<E> asList() { return isEmpty() ? ImmutableList.of() : ImmutableList.asImmutableList(toArray()); } /** * Returns {@code true} if this immutable collection's implementation contains references to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
return method.getReturnType() == boolean.class; } /** Determines whether the given method can throw InterruptedException. */ private static boolean isInterruptible(Method method) { return Arrays.asList(method.getExceptionTypes()).contains(InterruptedException.class); } /** Sorts the given methods primarily by name and secondarily by number of parameters. */ private static void sortMethods(Method[] methods) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
log.debug("Have initial token " + tok); } if (tok.getMechanisms() != null) { Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms())); if (!mechs.contains(NtlmContext.NTLMSSP_OID)) { throw new SmbUnsupportedOperationException("Server does not support NTLM authentication"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0)