- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 255 for addUrl (0.04 sec)
-
android/guava/src/com/google/common/collect/ImmutableCollection.java
contents[size++] = element; return this; } @CanIgnoreReturnValue @Override public Builder<E> add(E... elements) { addAll(elements, elements.length); return this; } final void addAll(@Nullable Object[] elements, int n) { checkElementsNotNull(elements, n); ensureRoomFor(n); /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
} @Override protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>> getStimulusValues() { List<Stimulus<E, ? super ListIterator<E>>> list = new ArrayList<>(); Helpers.addAll(list, iteratorStimuli()); Helpers.addAll(list, listIteratorStimuli()); return list; } @Override protected abstract ListIterator<E> newTargetIterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
if (elements instanceof Collection) { return new ArrayDeque<>((Collection<? extends E>) elements); } ArrayDeque<E> deque = new ArrayDeque<>(); Iterables.addAll(deque, elements); return deque; } // ConcurrentLinkedQueue /** Creates an empty {@code ConcurrentLinkedQueue}. */ @J2ktIncompatible @GwtIncompatible // ConcurrentLinkedQueue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.containsAll(collection); } @Override public boolean addAll(Collection<? extends E> collection) { assertTrue(Thread.holdsLock(mutex)); return delegate.addAll(collection); } @Override public boolean retainAll(Collection<?> collection) { assertTrue(Thread.holdsLock(mutex));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* This method is not actually very useful and will likely be deprecated in the future. */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> HashSet<E> newHashSet(E... elements) { HashSet<E> set = newHashSetWithExpectedSize(elements.length); Collections.addAll(set, elements); return set; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) { int size = remaining.length + 6; List<E> all = Lists.newArrayListWithCapacity(size); Collections.addAll(all, e1, e2, e3, e4, e5, e6); Collections.addAll(all, remaining); return copyOf(Ordering.natural(), all); } /** * Returns an immutable sorted multiset containing the given elements sorted by their natural * ordering.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 29.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
); private static final ImmutableSet<String> PS_NOT_RS = ImmutableSet.of("blogspot.com", "uk.com"); private static final ImmutableSet<String> PS = ImmutableSet.<String>builder().addAll(RS).addAll(PS_NOT_RS).build(); private static final ImmutableSet<String> NO_PS = ImmutableSet.of("www", "foo.ihopethiswillneverbeapublicsuffix", "x.y.z"); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} builder.addAll(iterable(list)); } }, ADD_STREAM { @Override void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { double[] array = new double[random.nextInt(10)]; for (int i = 0; i < array.length; i++) { array[i] = counter.getAndIncrement(); } builder.addAll(stream(array)); } },
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
Multiset<E> multiset = LinkedHashMultiset.create(); Iterators.addAll(multiset, elements); return copyFromEntries(multiset.entrySet()); } private static <E> ImmutableMultiset<E> copyFromElements(E... elements) { Multiset<E> multiset = LinkedHashMultiset.create(); Collections.addAll(multiset, elements); return copyFromEntries(multiset.entrySet()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0)