All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.internal.MutableCounter.kt Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2016-2020 JetBrains s.r.o.
 * Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
 */

package kotlinx.collections.immutable.internal

internal data class DeltaCounter(var count: Int = 0) {
    operator fun plusAssign(that: Int) { count += that }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy