- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,740 for collection (0.14 sec)
-
guava/src/com/google/common/collect/ImmutableCollection.java
* * <ul> * <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this * collection. This is a stronger guarantee than that of {@link * Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection * is modified. * <li><b>Null-hostility.</b> This collection will never contain a null element.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
/** * Returns an iterable whose iterator returns the given elements in order. The elements are copied * out of the source collection at the time this method is called. */ @SuppressWarnings("unchecked") // Es come in, Es go out public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) { return (MinimalIterable) of(elements.toArray()); } private @Nullable Iterator<E> iterator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
* * @param parser The XML parser * @return Converted Collection instance */ private Collection<Object> parseCollection(final MXParser parser, final TypeLiteral<?> toType) throws Exception { @SuppressWarnings("unchecked") final Collection<Object> collection = newImplementation(parser, ArrayList.class);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
import static java.util.Collections.emptyList; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.junit.Ignore;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
} } private <T> Collection<T> getExtensionComponents(Collection<MavenProject> projects, Class<T> role) { Collection<T> foundComponents = new LinkedHashSet<>(); foundComponents.addAll(lookup.lookupList(role)); foundComponents.addAll(getProjectScopedExtensionComponents(projects, role)); return foundComponents; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsScheduledJobCQ.java
not(not -> not.setId_Term(id), opLambda); } public void setId_Terms(Collection<String> idList) { setId_Terms(idList, null); } public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) { IdsQueryBuilder builder = regIdsQ(idList); if (opLambda != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 98.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
implements TestMapGenerator<String, Collection<Integer>> { @Override public SampleElements<Entry<String, Collection<Integer>>> samples() { return new SampleElements<>( mapEntry("one", collectionOf(10000)), mapEntry("two", collectionOf(-2000)), mapEntry("three", collectionOf(300)), mapEntry("four", collectionOf(-40)), mapEntry("five", collectionOf(5)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
@SuppressWarnings("unchecked") V[] valuesArray = (V[]) elements; // Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length); // Create a copy of that, with the desired value for each value Collection<Entry<K, V>> entries = new ArrayList<>(elements.length); int i = 0; for (Entry<K, V> entry : originalEntries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
} return derivedSuites; } static class ReserializedSetGenerator<E> implements TestSetGenerator<E> { final OneSizeTestContainerGenerator<Collection<E>, E> gen; private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { this.gen = gen; } @Override public SampleElements<E> samples() { return gen.samples(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
public void testForEachUnknownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements); } @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); List<E> expected = Helpers.copyToList(getOrderedElements());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.2K bytes - Viewed (0)