forked from openrs2/openrs2
parent
8b41f6288d
commit
e05653cdcc
@ -1,4 +1,4 @@ |
|||||||
package dev.openrs2.util |
package dev.openrs2.common |
||||||
|
|
||||||
fun CharSequence.indefiniteArticle(): String { |
fun CharSequence.indefiniteArticle(): String { |
||||||
require(isNotEmpty()) |
require(isNotEmpty()) |
@ -1,4 +1,4 @@ |
|||||||
package dev.openrs2.util.collect |
package dev.openrs2.common.collect |
||||||
|
|
||||||
interface DisjointSet<T> : Iterable<DisjointSet.Partition<T>> { |
interface DisjointSet<T> : Iterable<DisjointSet.Partition<T>> { |
||||||
interface Partition<T> : Iterable<T> |
interface Partition<T> : Iterable<T> |
@ -1,4 +1,4 @@ |
|||||||
package dev.openrs2.util.collect |
package dev.openrs2.common.collect |
||||||
|
|
||||||
import java.util.* |
import java.util.* |
||||||
import kotlin.NoSuchElementException |
import kotlin.NoSuchElementException |
@ -1,4 +1,4 @@ |
|||||||
package dev.openrs2.util.io |
package dev.openrs2.common.io |
||||||
|
|
||||||
import java.io.OutputStream |
import java.io.OutputStream |
||||||
import java.nio.file.attribute.FileTime |
import java.nio.file.attribute.FileTime |
@ -1,4 +1,4 @@ |
|||||||
package dev.openrs2.util.io |
package dev.openrs2.common.io |
||||||
|
|
||||||
import java.io.FilterOutputStream |
import java.io.FilterOutputStream |
||||||
import java.io.OutputStream |
import java.io.OutputStream |
@ -1,4 +1,4 @@ |
|||||||
package dev.openrs2.util |
package dev.openrs2.common |
||||||
|
|
||||||
import kotlin.test.Test |
import kotlin.test.Test |
||||||
import kotlin.test.assertEquals |
import kotlin.test.assertEquals |
@ -1,6 +1,6 @@ |
|||||||
package dev.openrs2.deob |
package dev.openrs2.deob |
||||||
|
|
||||||
import dev.openrs2.asm.MemberRef |
import dev.openrs2.asm.MemberRef |
||||||
import dev.openrs2.util.collect.DisjointSet |
import dev.openrs2.common.collect.DisjointSet |
||||||
|
|
||||||
data class ArgRef(val method: DisjointSet.Partition<MemberRef>, val arg: Int) |
data class ArgRef(val method: DisjointSet.Partition<MemberRef>, val arg: Int) |
||||||
|
@ -1,6 +1,6 @@ |
|||||||
package dev.openrs2.deob.analysis |
package dev.openrs2.deob.analysis |
||||||
|
|
||||||
import dev.openrs2.asm.MemberRef |
import dev.openrs2.asm.MemberRef |
||||||
import dev.openrs2.util.collect.DisjointSet |
import dev.openrs2.common.collect.DisjointSet |
||||||
|
|
||||||
data class SourcedIntValue(val source: DisjointSet.Partition<MemberRef>, val intValue: IntValue) |
data class SourcedIntValue(val source: DisjointSet.Partition<MemberRef>, val intValue: IntValue) |
||||||
|
Loading…
Reference in new issue