| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ConnectionPointType |
|
| 0.0;0 | ||||
| ConnectionPointType$1 |
|
| 0.0;0 | ||||
| ConnectionPointType$2 |
|
| 0.0;0 |
| 1 | // BSD License (http://www.galagosearch.org/license) | |
| 2 | package org.galagosearch.tupleflow.execution; | |
| 3 | ||
| 4 | /** | |
| 5 | * Represents the end point type of a TupleFlow connection: either input | |
| 6 | * or output. | |
| 7 | * | |
| 8 | * @author trevor | |
| 9 | */ | |
| 10 | 10 | public enum ConnectionPointType { |
| 11 | 2 | Input { |
| 12 | @Override | |
| 13 | 2 | public String toString() { |
| 14 | 0 | return "input"; |
| 15 | } | |
| 16 | }, | |
| 17 | 2 | Output { |
| 18 | @Override | |
| 19 | 2 | public String toString() { |
| 20 | 0 | return "output"; |
| 21 | } | |
| 22 | }; | |
| 23 | ||
| 24 | public static boolean connectable(ConnectionPointType one, ConnectionPointType two) { | |
| 25 | 0 | return one != two; |
| 26 | } | |
| 27 | } | |
| 28 |