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

io.github.karlatemp.mxlib.bean.beans.kt Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2018-2021 Karlatemp. All rights reserved.
 * @author Karlatemp  
 *
 * MXLib/MXLib.mxlib-api-kotlin.main/beans.kt
 *
 * Use of this source code is governed by the MIT license that can be found via the following link.
 *
 * https://github.com/Karlatemp/MxLib/blob/master/LICENSE
 */

@file:JvmName("BeanKt")

package io.github.karlatemp.mxlib.bean

import java.util.*
import java.util.stream.Stream

public inline fun  IBeanManager.getBy(): Optional = getBy(T::class.java)

public inline fun  IBeanManager.getBy(name: String): Optional = getBy(T::class.java, name)

public inline fun  IBeanManager.getAllOf(): Stream = getAll(T::class.java)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy