- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 855 for Element (0.06 seconds)
-
android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) { this.forward = forward; } @Override public int count(@Nullable Object element) { return forward.count(element); } @Override public @Nullable Entry<E> firstEntry() { return forward.lastEntry(); } @Override public @Nullable Entry<E> lastEntry() { return forward.firstEntry();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
doc/go_spec.html
</li> <li>An element list that does not contain any keys must list an element for each struct field in the order in which the fields are declared. </li> <li>If any element has a key, every element must have a key. </li> <li>An element list that contains keys does not need to have an element for each struct field. Omitted fields
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
android/guava/src/com/google/common/primitives/Ints.java
// ends up at a[d], which in turn ends up at a[2d], and so on until we get back to a[0]. // (All indices taken mod n.) If d and n are mutually prime, all elements will have been // moved at that point. Otherwise, we can rotate the cycle a[1], a[1 + d], a[1 + 2d], etc, // then a[2] etc, and so on until we have rotated all elements. There are gcd(d, n) cyclesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 31.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
public void testPoll_size1() { assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testPoll_sizeMany() { assertEquals("sizeManyQueue.poll() should return first element", e0(), getQueue().poll()); expectMissing(e0()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
@Override public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override public void add(@ParametricNullness T element) { throw new UnsupportedOperationException(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
@Override public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override public void add(@ParametricNullness T element) { throw new UnsupportedOperationException(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
@Param({"0", "1", "16", "256", "4096", "65536"}) int size; LinkedHashMultiset<Object> linkedHashMultiset; HashMultiset<Object> hashMultiset; // TreeMultiset requires a Comparable element. TreeMultiset<Integer> treeMultiset; @BeforeExperiment void setUp() { hashMultiset = HashMultiset.create(size); linkedHashMultiset = LinkedHashMultiset.create(size);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
@BeforeExperiment void setUp() throws Exception { Random r = new Random(); ba1 = new byte[length]; r.nextBytes(ba1); ba2 = Arrays.copyOf(ba1, ba1.length); // Differ at the last element ba3 = Arrays.copyOf(ba1, ba1.length); ba4 = Arrays.copyOf(ba1, ba1.length); ba3[ba1.length - 1] = (byte) 43; ba4[ba1.length - 1] = (byte) 42;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.8K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
return getOtherLocation(key); } } // -- InputLocation getLocation( Object ) /** * Gets the map of nested element locations within this location. * * @return a map of keys to InputLocation instances for nested elements, or null if none */ public java.util.Map<Object, InputLocation> getLocations() { return locations;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0)