Move movings back to fastutil

This commit is contained in:
DBotThePony 2024-02-03 18:32:40 +07:00
parent 9a8eee3919
commit 7fcf41d8a8
Signed by: DBot
GPG Key ID: DCC23B5715498507
6 changed files with 6 additions and 20 deletions

View File

@ -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> {

View File

@ -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> {

View File

@ -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

View File

@ -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

View File

@ -1,7 +0,0 @@
package ru.dbotthepony.kommons.util
import java.util.function.Consumer
fun interface BooleanConsumer : Consumer<Boolean> {
override fun accept(value: Boolean)
}

View File

@ -1,7 +0,0 @@
package ru.dbotthepony.kommons.util
import java.util.function.Consumer
fun interface FloatConsumer : Consumer<Float> {
override fun accept(value: Float)
}