Last active
January 15, 2018 00:59
-
-
Save radityagumay/a64a8f97f0c8534f5ce4cd5f80066232 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 Universal<in T> { | |
fun addAll(items: Collection<T>) | |
fun add(item: T) | |
fun update(item: T) | |
fun updateRange(vararg items: T) | |
fun remove(item: T, position: Int) | |
fun removeRange(vararg items: T) | |
fun clearAndAddAll(collection: Collection<T>) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment