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

org.tools4j.groovytables.CallPrecursor.groovy Maven / Gradle / Ivy

Go to download

A groovy API which allows you to create lists of objects using a table like grammar.

There is a newer version: 1.6
Show newest version
package org.tools4j.groovytables

/**
 * User: ben
 * Date: 16/02/2016
 * Time: 5:23 PM
 */
trait CallPrecursor {
    abstract Suitability getSuitability()
    abstract T executeMethod();

    boolean isMoreSuitableThan(final CallPrecursor other) {
        return suitability.isMoreSuitableThan(other.suitability)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy