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

net.maizegenetics.plugindef.Parameter.kt Maven / Gradle / Ivy

Go to download

TASSEL 6 is a software package to evaluate traits association. Feature Tables are at the heart of the package where, a feature is a range of positions or a single position. Row in the that table are taxon.

There is a newer version: 6.0.1
Show newest version
package net.maizegenetics.plugindef

import kotlin.reflect.KProperty

/**
 * @author Terry Casstevens
 * Created October 20, 2018
 */

class Parameter() {

    operator fun getValue(thisRef: Plugin, property: KProperty<*>): T {
        return thisRef.getParameter(property.name) as T
    }

    operator fun setValue(thisRef: Plugin, property: KProperty<*>, value: T): Plugin {
        thisRef.setParameter(property.name, value)
        return thisRef
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy