public String getFirstPriorityTag ( List < String > restrictions ) { for ( String str : restrictions ) { if ( hasTag ( str ) ) return getTag ( str ) ; } return "" ; }
Returns the first existing tag of the specified list where the order is important .