public interface QueryTarget
sealed class QueryTarget { data class BuildQueryTarget(val buildTarget: BuildTarget) : QueryTarget() data class QueryFileTarget(val path: SourcePath) : QueryTarget() }
Implementors of this class MUST provide their own implementation of Object.toString()
so that compare(QueryTarget, QueryTarget)
works as expected.
Modifier and Type | Method and Description |
---|---|
static int |
compare(QueryTarget a,
QueryTarget b)
Compare
QueryTarget s by their Object.toString() methods. |
static int compare(QueryTarget a, QueryTarget b)
QueryTarget
s by their Object.toString()
methods.