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

org.jruby.truffle.aot.SimpleRootedFileVisitor Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This
 * code is released under a tri EPL/GPL/LGPL license. You can use it,
 * redistribute it and/or modify it under the terms of the:
 *
 * Eclipse Public License version 1.0
 * GNU General Public License version 2
 * GNU Lesser General Public License version 2.1
 *
 *
 * Some of the code in this class is modified from org.jruby.util.StringSupport,
 * licensed under the same EPL1.0/GPL 2.0/LGPL 2.1 used throughout.
 */
package org.jruby.truffle.aot;

import java.nio.file.SimpleFileVisitor;

public class SimpleRootedFileVisitor extends SimpleFileVisitor implements RootedFileVisitor {
    private T root;

    @Override
    public void setRoot(T root) {
        this.root = root;
    }

    @Override
    public T getRoot() {
        return root;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy