public List < SpecTopic > getAllSpecTopics ( ) { final ArrayList < SpecTopic > specTopics = new ArrayList < SpecTopic > ( ) ; for ( final Entry < Integer , List < ITopicNode > > topicEntry : topics . entrySet ( ) ) { for ( final ITopicNode topic : topicEntry . getValue ( ) ) { if ( topic instanceof SpecTopic ) { specTopics . add ( ( SpecTopic ) topic ) ; } } } return specTopics ; }
Get a List of all the SpecTopics in the Database .