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

fuzzycsv.nav.MutableNav.groovy Maven / Gradle / Ivy

Go to download

A groovy/java tabular Data (from CSV,SQL,JSON) processing library that supports fuzzy column matching,tranformations/merging/querying etc

There is a newer version: 1.9.1-groovy4
Show newest version
package fuzzycsv.nav

import groovy.transform.CompileStatic

@CompileStatic
class MutableNav {


    Navigator curr

    MutableNav(Navigator curr) {
        this.curr = curr
    }

    def value() {
        curr.value()
    }

    MutableNav up() {
        curr = curr.up()
        return this
    }

    MutableNav down() {
        curr = curr.down()
        return this
    }

    MutableNav left() {
        curr = curr.left()
        return this

    }

    MutableNav right() {
        curr = curr.right()
        return this

    }

    boolean canGoUp() {
        curr.canGoUp()

    }

    @Override
    String toString() {
        return curr.toString()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy