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

commonMain.it.unibo.tuprolog.solve.library.LibraryGroup.kt Maven / Gradle / Ivy

package it.unibo.tuprolog.solve.library

import kotlin.js.JsName

/** Represents a group of [Library] objects */
interface LibraryGroup : Library {

    /** All libraries composing this library group */
    @JsName("libraries")
    val libraries: Collection

    /** Adds a library to this library group */
    @JsName("plus")
    operator fun plus(library: L): LibraryGroup

    /** Adds all libraries in provided libraryGroup to this libraryGroup */
    @JsName("plusGroup")
    operator fun plus(libraryGroup: LibraryGroup): LibraryGroup

    /** Removes the library from this library group */
    @JsName("minus")
    operator fun minus(library: L): LibraryGroup

    /** Updates an already contained library, with given library */
    @JsName("update")
    fun update(library: L): LibraryGroup
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy