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

org.tools4j.groovytables.ConstructionMethodPrecursor.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 ConstructionMethodPrecursor {
    abstract TypeCoercionResult executeConstructionMethod();
    abstract Suitability getSuitability()

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy