- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 931 for Elements (0.1 seconds)
-
guava/src/com/google/common/graph/PredecessorsFunction.java
* href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges"> * graph elements</a> for details) * </ul> * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ Iterable<? extends N> predecessors(N node);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
final Object array = Array.newInstance(toType.getRawType(), collection.size()); int i = 0; for (final Object element : collection) { Array.set(array, i++, element); } return array; } /** * Parses a sequence of XML elements and converts them to the appropriate bean type. * * @param parser The XML parser * @return Converted bean instance
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
return new Ints(); } @Override public Set<Integer> create(Object... elements) { Integer[] array = new Integer[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (Integer) e; } return create(array); } protected abstract Set<Integer> create(Integer[] elements); @Override public Integer[] createArray(int length) { return new Integer[length];
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.putAll("foo", asList(7, 8)); return multimap.get("foo").iterator(); } @Override protected void verify(List<Integer> elements) { assertEquals(new HashSet<>(elements), multimap.get("foo")); } }.test(); } @GwtIncompatible // unreasonably slow public void testEntriesIteration() { Set<Entry<String, Integer>> set =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 18.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); itr.remove(); } /** * @throws Exception */ @Test public void testNext() throws Exception { final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements()); assertThat(itr.hasNext(), is(not(true))); } /**
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedLists.java
* <i>lesser</i> are considered to refer to the comparator on the elements, and the terms * <i>first</i> and <i>last</i> are considered to refer to the elements' ordering in a list. * * @author Louis Wasserman */ @GwtCompatible final class SortedLists { private SortedLists() {} /** * A specification for which index to return if the list contains at least one element that * compares as equal to the key. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
assertNotNull(gavs); assertTrue(gavs.isEmpty(), "Expected collection to be empty but had " + gavs.size() + " elements: " + gavs); } @Test @DisplayName("should deduplicate identical GAVs") void shouldDeduplicateIdenticalGAVs() throws Exception { String pomXml = """Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
} public static class Chars extends SampleElements<Character> { public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> { public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should have removed an element", 2, list.size()); assertFalse("Second element should be gone", list.contains("B")); } static class ThrowsAtEndException extends RuntimeException { /* nothing */ } /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0)