- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for kven (0.03 sec)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
C filtered = filter(createUnfiltered(contents), EVEN); try { assertEquals(expectedResult, filtered.add(toAdd)); assertTrue(EVEN.apply(toAdd)); } catch (IllegalArgumentException e) { assertFalse(EVEN.apply(toAdd)); } } } } public void testRemove() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
// forward map ordered by currency (even for country values) assertThat(bimap.values()).containsExactly(Country.SWITZERLAND, Country.CHILE).inOrder(); // backward map ordered by country assertThat(bimap.inverse().keySet()) .containsExactly(Country.CHILE, Country.SWITZERLAND) .inOrder(); // backward map ordered by country (even for currency values)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
entries.add(entry(null, v3())); resetContainer(getSubjectGenerator().create(entries.toArray())); assertTrue( "A Map should equal any other Map containing the same entries," + " even if some keys are null.", getMap().equals(newHashMap(entries))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherContainsNullKey() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* </ul> * * <p>If you do chain your operations manually, you may want to use {@link FluentFuture}. * * @author Kevin Bourrillion * @author Nishant Thakkar * @author Sven Mawson * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Futures extends GwtFuturesCatchingSpecialization { // A note on memory visibility.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
return; } /* * Any of the setException() calls below can fail if the output Future is cancelled between now * and then. This means that we're silently swallowing an exception -- maybe even an Error. But * this is no worse than what FutureTask does in that situation. Additionally, because the * Future was cancelled, its listeners have been run, so its consumers will not hang. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 11K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
# Separate OpenAPI Schemas for Input and Output or Not When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎 In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**. Let's see how that works and how to change it if you need to do that. ## Pydantic Models for Input and Output
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
boolean completedWithFailure = setException(throwable); if (!completedWithFailure) { // Go up the causal chain to see if we've already seen this cause; if we have, even if // it's wrapped by a different exception, don't log it. boolean firstTimeSeeingThisException = addCausalChain(getOrInitSeenExceptions(), throwable); if (firstTimeSeeingThisException) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 16.2K bytes - Viewed (0) -
docs/en/docs/python-types.md
**FastAPI** is all based on these type hints, they give it many advantages and benefits. But even if you never use **FastAPI**, you would benefit from learning a bit about them. /// note If you are a Python expert, and you already know everything about type hints, skip to the next chapter. /// ## Motivation
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
} } } } catch (IOException | XMLStreamException e) { // The root locator can be used very early during the setup of Maven, // even before the arguments from the command line are parsed. Any exception // that would happen here should cause the build to fail at a later stage
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-parent.xml
<description>Flat directory structure case: module = ../child-artifact-id + child directory path != child-artifact-id</description> <modules> <module>../child-artifact-id</module><!-- use child artifact id, even if different from directory --> </modules> <!-- 5 urls in the pom will be inherited with path added --> <url>http://www.apache.org/path/to/parent/</url> <scm>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0)