Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
363 B
13 lines
363 B
package org.openrs2.deob.ast
|
|
|
|
public class LibraryGroup(libraries: Iterable<Library>) : Iterable<Library> {
|
|
private val libraries = libraries.associateBy { it.name }
|
|
|
|
public operator fun get(name: String): Library? {
|
|
return libraries[name]
|
|
}
|
|
|
|
override fun iterator(): Iterator<Library> {
|
|
return libraries.values.iterator()
|
|
}
|
|
}
|
|
|