Move movings back to fastutil
This commit is contained in:
parent
9a8eee3919
commit
7fcf41d8a8
@ -1,6 +1,6 @@
|
||||
package ru.dbotthepony.kommons.event
|
||||
|
||||
import ru.dbotthepony.kommons.util.BooleanConsumer
|
||||
import it.unimi.dsi.fastutil.booleans.BooleanConsumer
|
||||
import java.util.function.Consumer
|
||||
|
||||
interface IBooleanSubscriptable : ISubscriptable<Boolean> {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package ru.dbotthepony.kommons.event
|
||||
|
||||
import ru.dbotthepony.kommons.util.FloatConsumer
|
||||
import it.unimi.dsi.fastutil.floats.FloatConsumer
|
||||
import java.util.function.Consumer
|
||||
|
||||
interface IFloatSubcripable : ISubscriptable<Float> {
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
package ru.dbotthepony.kommons.networking
|
||||
|
||||
import it.unimi.dsi.fastutil.booleans.BooleanConsumer
|
||||
import it.unimi.dsi.fastutil.floats.FloatConsumer
|
||||
import it.unimi.dsi.fastutil.objects.Reference2ObjectFunction
|
||||
import it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap
|
||||
import it.unimi.dsi.fastutil.objects.ReferenceArraySet
|
||||
@ -30,8 +32,6 @@ import ru.dbotthepony.kommons.io.writeSignedVarLong
|
||||
import ru.dbotthepony.kommons.io.writeVarInt
|
||||
import ru.dbotthepony.kommons.io.writeVarLong
|
||||
import ru.dbotthepony.kommons.math.Decimal
|
||||
import ru.dbotthepony.kommons.util.BooleanConsumer
|
||||
import ru.dbotthepony.kommons.util.FloatConsumer
|
||||
import ru.dbotthepony.kommons.util.FloatSupplier
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.DataInputStream
|
||||
|
@ -1,8 +1,8 @@
|
||||
package ru.dbotthepony.kommons.networking
|
||||
|
||||
import ru.dbotthepony.kommons.util.FloatConsumer
|
||||
import it.unimi.dsi.fastutil.booleans.BooleanConsumer
|
||||
import it.unimi.dsi.fastutil.floats.FloatConsumer
|
||||
import ru.dbotthepony.kommons.core.SentientGetterSetter
|
||||
import ru.dbotthepony.kommons.util.BooleanConsumer
|
||||
import java.util.function.DoubleConsumer
|
||||
import java.util.function.IntConsumer
|
||||
import java.util.function.LongConsumer
|
||||
|
@ -1,7 +0,0 @@
|
||||
package ru.dbotthepony.kommons.util
|
||||
|
||||
import java.util.function.Consumer
|
||||
|
||||
fun interface BooleanConsumer : Consumer<Boolean> {
|
||||
override fun accept(value: Boolean)
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
package ru.dbotthepony.kommons.util
|
||||
|
||||
import java.util.function.Consumer
|
||||
|
||||
fun interface FloatConsumer : Consumer<Float> {
|
||||
override fun accept(value: Float)
|
||||
}
|
Loading…
Reference in New Issue
Block a user