- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for subtree (0.39 sec)
-
android/guava/src/com/google/common/collect/TreeMultiset.java
this.range = GeneralRange.all(comparator); this.header = new AvlNode<>(); successor(header, header); this.rootReference = new Reference<>(); } /** A function which can be summed across a subtree. */ private enum Aggregate { SIZE { @Override int nodeAggregate(AvlNode<?> node) { return node.elemCount; } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 34.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
* being a real directory to being a symlink to another directory. It then calls * deleteDirectoryContents thousands of times on a directory whose subtree contains the file * that's switching between directory and symlink to try to ensure that under no circumstance does * deleteDirectoryContents follow the symlink to the other directory and delete that directory's
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
@SuppressWarnings("unchecked") // guarded by the isAssignableFrom() statement above TypeToken<? extends T> subtype = (TypeToken<? extends T>) of(resolvedTypeArgs); checkArgument( subtype.isSubtypeOf(this), "%s does not appear to be a subtype of %s", subtype, this); return subtype; } /** * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType))
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ClassToInstanceMap.java
* Returns the value the specified class is mapped to, or {@code null} if no entry for this class * is present. This will only return a value that was bound to this specific class, not a value * that may have been bound to a subtype. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
List<RecursiveTypeBoundBugExample<? extends RecursiveTypeBoundBugExample<T>>> arg) { return notSubtype(arg); // isSubtype() currently incorrectly considers it a subtype. } } private static class WildcardSubtypingTests extends SubtypeTester { @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public Iterable<?> noBounds(List<?> list) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* "Unexpected bill status: %s", bill.status()); * }</pre> * * <h3>Comparison to alternatives</h3> * * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear * which approach to use, <b>don't worry</b> too much about it; just pick something that seems * reasonable and it will be fine. * * <ul>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); assertEquals( new TypeCapture<TypedKeyMap<String>>() {}.capture(), new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(), new TypeCapture<Map<?, String>>() {}.capture()) .resolveType(subtype)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
public abstract Iterable<T> children(T root); /** * Returns an unmodifiable iterable over the nodes in a tree structure, using pre-order traversal. * That is, each node's subtrees are traversed after the node itself is returned. * * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* Serializable}. * <li>Serialization test is not performed on method return values unless the method is a * visible static factory method whose return type is {@code C} or {@code C}'s subtype. * </ul> * * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0)