- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 577 for elemLen (0.07 sec)
-
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek()); assertEquals( "Should be able to peek() first element multiple times", "A", peekingIterator.peek()); assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
/** * Return the index of the next lower element in the list, or {@code -1} if there is no such * element. */ NEXT_LOWER { @Override int resultIndex(int higherIndex) { return higherIndex - 1; } }, /** * Return the index of the next higher element in the list, or {@code list.size()} if there is * no such element. */ NEXT_HIGHER {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
Days int `xml:"Days,omitempty"` } // Empty returns if a DelMarkerExpiration XML element is empty. // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element. func (de DelMarkerExpiration) Empty() bool { return de.Days == 0 } // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingListIterator.java
/** Constructor for use by subclasses. */ protected ForwardingListIterator() {} @Override protected abstract ListIterator<E> delegate(); @Override public void add(@ParametricNullness E element) { delegate().add(element); } @Override public boolean hasPrevious() { return delegate().hasPrevious(); } @Override public int nextIndex() { return delegate().nextIndex(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
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) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/InvalidParameterException.java
*/ package org.apache.maven.plugin.descriptor; /** */ public class InvalidParameterException extends InvalidPluginDescriptorException { public InvalidParameterException(String element, int i) { super("The " + element + " element in parameter # " + i + " is invalid. It cannot be null."); } public InvalidParameterException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K 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-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/dsl/docbook/model/BlockDoc.groovy
} boolean isMultiValued() { return multiValued } TypeMetaData getType() { return type } Element getDescription() { return blockMethod.description; } List<Element> getComment() { return blockMethod.comment } boolean isDeprecated() { return blockProperty.deprecated || blockMethod.deprecated }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
public int count(@Nullable Object element) { for (Entry<E> entry : entrySet()) { if (Objects.equal(entry.getElement(), element)) { return entry.getCount(); } } return 0; } @Override public int add(E element, int occurrences) { checkArgument(occurrences >= 0); Integer frequency = backingMap.get(element); if (frequency == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0)