- Sort Score
- Result 10 results
- Languages All
Results 1531 - 1540 of 4,785 for new (0.07 sec)
-
android/guava/src/com/google/common/collect/ContiguousSet.java
// Per class spec, we are allowed to throw CCE if necessary empty = Range.compareOrThrow(afterLower, beforeUpper) > 0; } return empty ? new EmptyContiguousSet<C>(domain) : new RegularContiguousSet<C>(effectiveRange, domain); } /** * Returns a nonempty contiguous set containing all {@code int} values from {@code lower}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 9.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
set(value) = Unit /** @since 2.0 */ @Incubating operator fun String.invoke(p: String, block: String.() -> Unit) = Unit """ @Test fun `new top-level kotlin members`() { checkNotBinaryCompatibleKotlin( v2 = """ $publicKotlinMembers const val cathedral = "cathedral" """
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* with those values. * * <p>A call to {@link Entry#setValue} on the returned entry will always throw {@link * UnsupportedOperationException}. */ static <K, V> Entry<K, V> entryOf(K key, V value) { return new ImmutableMapEntry<>(key, value); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
CollectSpliterators.map( Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase)) .expect("A", "B", "C", "D", "E"); } public void testFlatMap() { SpliteratorTester.of( () -> CollectSpliterators.flatMap( Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
final CharSource source = newCharSource(testString); final int[] counter = new int[1]; CharSource reader = new CharSource() { @Override public Reader openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterReader(source.openStream()) { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultiset.java
public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> { /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */ public static <E extends @Nullable Object> HashMultiset<E> create() { return new HashMultiset<>(); } /** * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct * elements. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
final CharSource source = newCharSource(testString); final int[] counter = new int[1]; CharSource reader = new CharSource() { @Override public Reader openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterReader(source.openStream()) { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
private final ExecutionList executionList = new ExecutionList(); /** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code * Callable}. * * @param callable the callable task * @since 10.0 */ public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { return new ListenableFutureTask<>(callable); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 4.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file."; throw new BuildResumptionPersistenceException(message, e); } } private Properties convertToProperties(final BuildResumptionData buildResumptionData) { Properties properties = new Properties(); String value = String.join(PROPERTY_DELIMITER, buildResumptionData.getRemainingProjects());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
public class MapReplaceAllTester<K, V> extends AbstractMapTester<K, V> { private SampleElements<K> keys() { return new SampleElements<>(k0(), k1(), k2(), k3(), k4()); } private SampleElements<V> values() { return new SampleElements<>(v0(), v1(), v2(), v3(), v4()); } @MapFeature.Require(SUPPORTS_PUT) public void testReplaceAllRotate() { getMap() .replaceAll(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0)