DelegateSyncher.Group merging
This commit is contained in:
parent
80e5347ac6
commit
31b1278cc2
@ -4,7 +4,7 @@ kotlin.code.style=official
|
|||||||
specifyKotlinAsDependency=false
|
specifyKotlinAsDependency=false
|
||||||
|
|
||||||
projectGroup=ru.dbotthepony.kommons
|
projectGroup=ru.dbotthepony.kommons
|
||||||
projectVersion=2.1.0
|
projectVersion=2.1.1
|
||||||
|
|
||||||
guavaDepVersion=33.0.0
|
guavaDepVersion=33.0.0
|
||||||
gsonDepVersion=2.8.9
|
gsonDepVersion=2.8.9
|
||||||
|
@ -749,6 +749,11 @@ class DelegateSyncher : Listenable<Unit>, Observer {
|
|||||||
return delegate
|
return delegate
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun add(other: Group): Group {
|
||||||
|
constructors.addAll(other.constructors)
|
||||||
|
return this
|
||||||
|
}
|
||||||
|
|
||||||
fun create(): DelegateSyncher {
|
fun create(): DelegateSyncher {
|
||||||
return addInto(DelegateSyncher())
|
return addInto(DelegateSyncher())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user