private static Set < Interaction > getInter ( Match match ) { Set < Interaction > set = new HashSet < Interaction > ( ) ; for ( BioPAXElement ele : match . getVariables ( ) ) { if ( ele instanceof Interaction ) { set . add ( ( Interaction ) ele ) ; addControlsRecursive ( ( Interaction ) ele , set ) ; } } return set ; }
Gets all interactions in a match .