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

com.medallia.word2vec.util.CallableVoid Maven / Gradle / Ivy

There is a newer version: 0.10.3
Show newest version
package com.medallia.word2vec.util;

import java.util.concurrent.Callable;

/** Utility base implementation of Callable with a Void return type. */
public abstract class CallableVoid implements Callable {

	@Override public final Void call() throws Exception {
		run();
		return null;
	}

	/** Do the actual work here instead of using {@link #call()} */
	protected abstract void run() throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy