- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 1,006 for element (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
public void testRemoveAtIndex_last() { runRemoveTest(getNumElements() - 1); } private void runRemoveTest(int index) { assertEquals( Platform.format("remove(%d) should return the element at index %d", index, index), getList().get(index), getList().remove(index)); List<E> expected = copyToList(createSamplesArray()); expected.remove(index); expectContents(expected); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
if (javahome == null) { throw new MisconfiguredToolchainException( "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element."); } Path normal = Paths.get(javahome.getValue()).normalize(); if (Files.exists(normal)) { jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString()); } else {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1L; @Override public boolean contains(@Nullable Object element) { Preconditions.checkNotNull(element); return super.contains(element); } } Collection<Integer> nums = new CollectionThatThrowsNullPointerException<>(); Predicate<@Nullable Integer> isFalse = Predicates.in(nums);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
} } } return nil } // IsEmpty returns true if Filter is not specified in the XML func (f Filter) IsEmpty() bool { return !f.set } // Validate - validates the filter element func (f Filter) Validate() error { if f.IsEmpty() { return errXMLNotWellFormed } // A Filter must have exactly one of Prefix, Tag, // ObjectSize{LessThan,GreaterThan} or And specified.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 04 17:01:26 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
return rowKeyToIndex.containsKey(rowKey); } @Override public boolean containsValue(@Nullable Object value) { for (@Nullable V[] row : array) { for (V element : row) { if (Objects.equals(value, element)) { return true; } } } return false; } @Override public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 26.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* by delaying the per-stack-frame work until each element is accessed. Roughly speaking: * * <ul> * <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to * retrieve each element of the returned list. * <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time * to retrieve each element of the returned list (probably slightly more than {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
private static final class PickyIterable<E> implements Iterable<E> { final List<E> elements; int modCount = 0; PickyIterable(E... elements) { this.elements = new ArrayList<E>(asList(elements)); } @Override public Iterator<E> iterator() { return new PickyIterator(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 56.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
StackTraceElement[] elements = e.getStackTrace(); for (int i = 0; i < elements.length; i++) { StackTraceElement element = elements[i]; if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) { return i; } } throw new AssertionError( "Expected element " + clazz + "." + method + " not found in stack trace", e); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
*/ @GwtCompatible public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable { /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each * input element is mapped to one cell in the returned table, with the rows, columns, and values * generated by applying the specified functions. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
numCallsToNewTargetIterator++; return Lists.newArrayList(1).iterator(); } @Override protected void verify(List<Integer> elements) { numCallsToVerify++; super.verify(elements); } } public void testVerifyGetsCalled() { TesterThatCountsCalls tester = new TesterThatCountsCalls(); tester.test(); assertEquals(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0)