diff options
| author | bjculkin <bjculkin@mix.wvu.edu> | 2017-03-18 14:47:57 -0400 |
|---|---|---|
| committer | bjculkin <bjculkin@mix.wvu.edu> | 2017-03-18 14:47:57 -0400 |
| commit | 453b566b81fd3f08ac0a7edf72389ea8493bae31 (patch) | |
| tree | e5b93ea2d5f8d8563f7d9ffc7f653fd0f2e81bfa /BJC-Utils2/src/main/java/bjc/utils/data/ITree.java | |
| parent | 79cab78bf3d688bb8a359eedcfaf2575ef9d4092 (diff) | |
Use whole child, not just child head for find
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/data/ITree.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/data/ITree.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/data/ITree.java b/BJC-Utils2/src/main/java/bjc/utils/data/ITree.java index 63d16d4..9132278 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/data/ITree.java +++ b/BJC-Utils2/src/main/java/bjc/utils/data/ITree.java @@ -186,5 +186,5 @@ public interface ITree<ContainedType> { * @return The index of the right-most child that satisfies the * predicate, or -1 if one doesn't exist. */ - int revFind(Predicate<ContainedType> childPred); + int revFind(Predicate<ITree<ContainedType>> childPred); } |
