- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,429 for levent (0.08 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
int expectedHashCode = 0; for (E element : elements) { expectedHashCode += ((element == null) ? 0 : element.hashCode()); } elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertEquals( "A Set's hashCode() should be the sum of those of its elements (with " + "a null element counting as having a hash of zero).", expectedHashCode,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy
import gradlebuild.docs.dsl.source.model.MethodMetaData import org.w3c.dom.Element class MethodDoc implements DslElementDoc { private final String id private final MethodMetaData metaData private final List<Element> comment private final ClassMetaData referringClass MethodDoc(MethodMetaData metaData, List<Element> comment) { this(metaData.ownerClass, metaData, comment) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy
* limitations under the License. */ package gradlebuild.docs.dsl.docbook.model import org.w3c.dom.Element import org.w3c.dom.Node class ExtraAttributeDoc { final Element titleCell final Element valueCell ExtraAttributeDoc(Element titleCell, Element valueCell) { this.titleCell = titleCell this.valueCell = valueCell } @Override String toString() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
@Override void setCountCheckReturnValue(E element, int count) { assertTrue( "setCount() with the correct expected present count should return true", setCount(element, count)); } @Override void setCountNoCheckReturnValue(E element, int count) { setCount(element, count); } @CanIgnoreReturnValue private boolean setCount(E element, int count) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
} return elements.get(size() - 1); } @Override @CheckForNull public E lower(E element) { int index = headIndex(element, false) - 1; return (index == -1) ? null : elements.get(index); } @Override @CheckForNull public E floor(E element) { int index = headIndex(element, true) - 1; return (index == -1) ? null : elements.get(index); } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
} Builder() {} /** * Adds {@code element} to the {@code ImmutableCollection} being built. * * <p>Note that each builder class covariantly returns its own type from this method. * * @param element the element to add * @return this {@code Builder} instance * @throws NullPointerException if {@code element} is null */ @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* Returns an {@link Optional} containing the first element in this fluent iterable. If the * iterable is empty, {@code Optional.absent()} is returned. * * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}. * * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java
// GWT compiler to infer the elements of the lists that needs to be // serialized. E element; SingletonImmutableList(E element) { this.delegate = singletonList(checkNotNull(element)); this.element = element; } @Override List<E> delegateList() { return delegate; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
private void wrapH2InSectionTopic(Document document) { Element heading = document.body().select("h2").first(); List<Element> inSection = new ArrayList<>(); inSection.add(heading); Element next = heading.nextElementSibling(); while (true) { if (next == null || next.tagName().equals("h2")) { Element section = heading.before("<section class='topic'/>").previousElementSibling();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 03 05:02:20 UTC 2024 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
* according to when the first occurrence of the element was added. When the multiset contains * multiple instances of an element, those instances are consecutive in the iteration order. If all * occurrences of an element are removed, after which that element is added to the multiset, the * element will appear at the end of the iteration. * * <p>See the Guava User Guide article on <a href=
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0)