- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 854 for Elements (0.16 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
return false; } List<TypeWithDuplicates> elements1 = ImmutableList.copyOf(ms1.elementSet()); List<TypeWithDuplicates> elements2 = ImmutableList.copyOf(ms2.elementSet()); for (int i = 0; i < ms1.elementSet().size(); i++) { if (!elements1.get(i).fullEquals(elements2.get(i))) { return false; } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
} /** * Removes an element from its parent. * * @param element the element to remove * */ public static void removeElement(Element element) { Editor editor = new Editor(element.document()); editor.removeElement(element); } /** * Convenience method to add GAV (groupId, artifactId, version) elements to a parent. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
* both {@link Collection} and {@link Map}; since there isn't an established collective noun that * encompasses both of these, 'container' is used. * * @author George van den Driessche */ @GwtCompatible @NullMarked public interface TestContainerGenerator<T, E extends @Nullable Object> { /** Returns the sample elements that this generate populates its container with. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
suite.addTest( SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return CompactLinkedHashSet.create(asList(elements)); } }) .named("CompactLinkedHashSet") .withFeatures(allFeatures) .createTestSuite()); return suite;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
return standardAddAll(collection); } @Override public boolean add(T element) { return standardAdd(element); } @Override public void clear() { standardClear(); } @Override public int count(Object element) { return standardCount(element); } @Override public boolean contains(Object object) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /** * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from, * the given array. * * @param array the array to copy elements from
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
implements TestSortedSetGenerator<String> { @Override public SortedSet<String> create(Object... elements) { return (SortedSet<String>) super.create(elements); } @Override protected abstract SortedSet<String> create(String[] elements); /** Sorts the elements by their natural ordering. */ /* * While the current implementation returns `this`, that's not something we mean to guarantee.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} @Override public List<Long> create(Object... elements) { Long[] array = new Long[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (Long) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
return new LexicographicalOrdering<S>(checkNotNull(comparator)); } /** * Returns {@code true} if each element in {@code iterable} after the first is greater than or * equal to the element that preceded it, according to the specified comparator. Note that this is * always true when the iterable has fewer than two elements. */ public static <T extends @Nullable Object> boolean isInOrder(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
return new Strings(); } @Override public Set<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Set<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0)