Project

General

Profile

1
package eu.dnetlib.dhp.common.java.porttype;
2

    
3
/**
4
 * A port type that accepts any type of data
5
 * @author Mateusz Kobos
6
 *
7
 */
8
public class AnyPortType implements PortType {
9

    
10
	@Override
11
	public String getName() {
12
		return "Any";
13
	}
14

    
15
	@Override
16
	public boolean accepts(PortType other) {
17
		return true;
18
	}
19

    
20
}
(1-1/3)