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

net.java.truevfs.kernel.impl.Op Maven / Gradle / Ivy

/*
 * Copyright © 2005 - 2021 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package net.java.truevfs.kernel.impl;

import java.util.concurrent.Callable;

/**
 * An operation which completes with an arbitrary return value or terminates with an arbitrary exception.
 *
 * @param  the type of return value.
 * @param  the type of exception.
 */
@FunctionalInterface
interface Op extends Callable {

    T call() throws X;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy