forked from D-Net/dnet-hadoop
21 lines
307 B
Java
21 lines
307 B
Java
package eu.dnetlib.dhp.common.java.porttype;
|
|
|
|
/**
|
|
* A port type that accepts any type of data
|
|
* @author Mateusz Kobos
|
|
*
|
|
*/
|
|
public class AnyPortType implements PortType {
|
|
|
|
@Override
|
|
public String getName() {
|
|
return "Any";
|
|
}
|
|
|
|
@Override
|
|
public boolean accepts(PortType other) {
|
|
return true;
|
|
}
|
|
|
|
}
|