Created
March 12, 2018 09:18
-
-
Save rozkminiacz/0ba059f2c662887b8921a7d0e51d98ef 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
interface Repository<in T>{ | |
fun getAll() : Single<List<T>> | |
fun getOne(id : String) : Single<T> | |
fun create(t : T) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment