- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,066 for We (0.26 sec)
-
guava-tests/test/com/google/common/collect/StreamsTest.java
.containsExactly("a:1", "b:2", "c:3") .inOrder(); } public void testZipInfiniteWithInfinite() { // zip is doing an infinite zip, but we truncate the result so we can actually test it // but we want the zip itself to work assertThat( Streams.zip( Stream.iterate(1, i -> i + 1).map(String::valueOf), Stream.iterate(1, i -> i + 1),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* @since 13.0 */ @CanIgnoreReturnValue public static byte parseUnsignedByte(String string, int radix) { int parse = Integer.parseInt(checkNotNull(string), radix); // We need to throw a NumberFormatException, so we have to duplicate checkedCast. =( if (parse >> Byte.SIZE == 0) { return (byte) parse; } else { throw new NumberFormatException("out of range: " + parse); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
} }; try { iter.hasNext(); fail(); } catch (IllegalStateException expected) { } } // Technically we should test other reentrant scenarios (4 combinations of // hasNext/next), but we'll cop out for now, knowing that // next() both start by invoking hasNext() anyway. /** Throws an undeclared checked exception. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); } /** Constructs a listenable future with a value available after the latch has counted down. */ protected abstract <V> ListenableFuture<V> createListenableFuture(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 18:30:30 GMT 2023 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
} }; try { iter.hasNext(); fail(); } catch (IllegalStateException expected) { } } // Technically we should test other reentrant scenarios (4 combinations of // hasNext/next), but we'll cop out for now, knowing that // next() both start by invoking hasNext() anyway. /** Throws an undeclared checked exception. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
* <ul> * <li>collect all the vertices for the projects that we want to build.</li> * <li>iterate through the deps of each project and if that dep is within * the set of projects we want to build then add an edge, otherwise throw * the edge away because that dependency is not within the set of projects * we are trying to build. we assume a closed set.</li> * <li>do a topo sort on the graph that remains.</li>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} } public void testNulls() { /* * Don't bother testing. All non-primitive parameters are used only to construct error messages. * We never want to pass null for them, so we haven't annotated them to say that null is * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls * that NullPointerTester wants. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
} public static Artifact copyArtifact(Artifact artifact) { VersionRange range = artifact.getVersionRange(); // For some reason with the introduction of MNG-1577 we have the case in Yoko where a depMan section has // something like the following: // // <dependencyManagement> // <dependencies> // <!-- Yoko modules -->
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 06 08:51:18 GMT 2023 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
/* * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we * could use null, but that messes with our nullness checking, including under J2KT. We could * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 6.3K bytes - Viewed (0)