- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for newElement (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
Element candidate = newElement(); if (!elementsInSet.contains(candidate)) { queryList.add(candidate); } } shuffle(queryList, random); return queryList.toArray(new Element[0]); } private Set<Element> createData() { Set<Element> set = Sets.newHashSetWithExpectedSize(size); while (set.size() < size) { set.add(newElement()); } return set; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
Element candidate = newElement(); if (!elementsInSet.contains(candidate)) { queryList.add(candidate); } } shuffle(queryList, random); return queryList.toArray(new Element[0]); } private Set<Element> createData() { Set<Element> set = Sets.newHashSetWithExpectedSize(size); while (set.size() < size) { set.add(newElement()); } return set; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* current array, create a new array. */ private void ensureRoomFor(int newElements) { @Nullable Object[] contents = this.contents; int newCapacity = expandedCapacity(contents.length, size + newElements); // expandedCapacity handles the overflow case if (newCapacity > contents.length || forceCopy) {
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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
} @Override public final boolean remove(@Nullable Object object) { throw new UnsupportedOperationException(); } @Override public final boolean addAll(Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } @Override public final boolean removeAll(Collection<?> oldElements) { throw new UnsupportedOperationException(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
public int lastIndexOf(@Nullable Object object) { return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object); } @Override public final boolean addAll(int index, Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } @Override public final E set(int index, E element) { throw new UnsupportedOperationException(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
*/ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean addAll(int index, Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException always
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean addAll(Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the collection unmodified. * * @throws UnsupportedOperationException always
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/collect/Sets.java
*/ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean addAll(Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the collection unmodified. * * @throws UnsupportedOperationException always
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0)