- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for direction (0.16 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
// Passed nodes should be in the correct edge direction, first is the // source node and the second is the target node assertThat(network.edgesConnecting(N2, N1)).isEmpty(); } @Test public void inEdges_oneEdge() { addEdge(N1, N2, E12); assertThat(network.inEdges(N2)).containsExactly(E12); // Edge direction handled correctly assertThat(network.inEdges(N1)).isEmpty(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
putEdge(N1, N2); assertThat(graph.predecessors(N2)).containsExactly(N1); // Edge direction handled correctly assertThat(graph.predecessors(N1)).isEmpty(); } @Test public void successors_oneEdge() { putEdge(N1, N2); assertThat(graph.successors(N1)).containsExactly(N2); // Edge direction handled correctly assertThat(graph.successors(N2)).isEmpty(); } @Test
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertThat(ArbitraryInstances.get(String[].class)).isEmpty(); } public void testGet_enum() { assertNull(ArbitraryInstances.get(EmptyEnum.class)); assertEquals(Direction.UP, ArbitraryInstances.get(Direction.class)); } public void testGet_interface() { assertNull(ArbitraryInstances.get(SomeInterface.class)); } public void testGet_runnable() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicate.java
* java.util.function.Predicate} is expected, use the method reference {@code * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so * that conversion will be necessary in only one direction. At that time, this interface will be * officially discouraged. * * @author Kevin Bourrillion * @since 2.0 */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
putEdge(N1, N2); assertThat(graph.predecessors(N2)).containsExactly(N1); // Edge direction handled correctly assertThat(graph.predecessors(N1)).isEmpty(); } @Test public void successors_oneEdge() { putEdge(N1, N2); assertThat(graph.successors(N1)).containsExactly(N2); // Edge direction handled correctly assertThat(graph.successors(N2)).isEmpty(); } @Test
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
this.size = 0; this.mask = tableSize - 1; this.modCount = 0; } /** * Finds and removes {@code entry} from the bucket linked lists in both the key-to-value direction * and the value-to-key direction. */ private void delete(BiEntry<K, V> entry) { int keyBucket = entry.keyHash & mask; BiEntry<K, V> prevBucketEntry = null; for (BiEntry<K, V> bucketEntry = hashTableKToV[keyBucket];
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 24.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
fractionalBuilder.add(d * scale).add(-d * scale); } } for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { for (int direction : new int[] {1, -1}) { double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction); // Math.nextUp/nextDown if (d != Math.rint(d)) { fractionalBuilder.add(d); } } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathTesting.java
fractionalBuilder.add(d * scale).add(-d * scale); } } for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { for (int direction : new int[] {1, -1}) { double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction); // Math.nextUp/nextDown if (d != Math.rint(d)) { fractionalBuilder.add(d); } } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
* use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other * direction," converting empty strings to {@code null}, you can use {@link #emptyToNull}. * * @param string a string reference to check * @return {@code true} if the string is null or is the empty string */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code * java.util.function.Supplier}, making conversion code necessary only in one direction. At that * time, this interface will be officially discouraged. * * @author Harry Heymann * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface Supplier<T extends @Nullable Object>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 2.5K bytes - Viewed (0)