Last active
August 6, 2018 09:52
-
-
Save sellmair/df8d8c17a196e3a86e40fb11756a3e69 to your computer and use it in GitHub Desktop.
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
private class PatternDetectorConnector( | |
private val first: PatternDetector, | |
private val second: PatternDetector): PatternDetector { | |
override fun findPatterns(data: List<Weight>): List<Pattern> { | |
val firstPatterns = first.findPatterns(data) | |
val secondPatterns = seconnd.findPatterns(data) | |
return firstPatterns + secondPatterns | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment