- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 924 for Element (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
public void testSet_replacingNull() { E[] elements = createSamplesArray(); int i = aValidIndex(); elements[i] = null; collection = getSubjectGenerator().create(elements); doTestSet(e3()); } private void doTestSet(E newValue) { int index = aValidIndex(); E initialValue = getList().get(index); assertEquals( "set(i, x) should return the old element at position i.", initialValue,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
/** * Returns a map view that associates each key with the corresponding values in the multimap. * Changes to the returned map, such as element removal, will update the underlying multimap. The * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 5.3K bytes - Viewed (0) -
src/README.vendor
to preserve the invariant that all packages have distinct paths. This is necessary to avoid compiler and linker conflicts. Adding a "vendor/" prefix also maintains the invariant that standard library packages begin with a dotless path element. The module requirements of std and cmd do not influence version selection in other modules. They are only considered when running module commands like 'go get' and 'go mod vendor' from a directory in GOROOT/src.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 30 19:15:39 UTC 2024 - 2.4K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
utils/utils_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:01:26 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
// also mean that the iterator returns the head element first, which those // don't. public Test testsForPriorityBlockingQueue() { return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override public Queue<String> create(String[] elements) { return new PriorityBlockingQueue<>(MinimalCollection.of(elements)); } })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
@Override protected List<Float> create(Float[] elements) { return asList(elements); } } public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator { @Override protected List<Float> create(Float[] elements) { Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
@Override protected List<Float> create(Float[] elements) { return asList(elements); } } public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator { @Override protected List<Float> create(Float[] elements) { Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
@Override protected List<Integer> create(Integer[] elements) { return asList(elements); } } public static final class IntsAsListHeadSubListGenerator extends TestIntegerListGenerator { @Override protected List<Integer> create(Integer[] elements) { Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; Integer[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0)