-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@W-13569674@: remove state and PathExpansionObserver from null check …
…rule
- Loading branch information
1 parent
4d8c5a6
commit ca004db
Showing
7 changed files
with
91 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
sfge/src/main/java/com/salesforce/graph/vertex/VertexPredicate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
package com.salesforce.graph.vertex; | ||
|
||
import com.salesforce.graph.symbols.SymbolProvider; | ||
import com.salesforce.graph.visitor.VertexPredicateVisitor; | ||
|
||
public interface VertexPredicate { | ||
/** Return true if the implementer is interested in this vertex. */ | ||
boolean test(BaseSFVertex vertex); | ||
|
||
/** | ||
* Return true if the implementer is interested in this vertex.<br> | ||
* <br> | ||
* WARNING: the {@link SymbolProvider} parameter is experimental and may be removed in future | ||
* releases. It should be used sparingly, for performance reasons. | ||
*/ | ||
default boolean test(BaseSFVertex vertex, SymbolProvider provider) { | ||
return test(vertex); | ||
} | ||
|
||
/** Dispatch to a {@link VertexPredicateVisitor} */ | ||
void accept(VertexPredicateVisitor visitor); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.