Code example for ConcurrentSkipListMap

Methods: containsKey

0
        models.remove(vizualizerName);
        notifier.refresh();
    } 
 
    public boolean containsVisualizer(String vizualizerName) {
        return models.containsKey(vizualizerName);
    } 
 
    public Iterator<String> getVizualizerNamesIterator() {
        return models.keySet().iterator();
    } 
 
    public Iterator<AbstractGraphRow> getRowsIterator(String vizualizerName) {
        ConcurrentSkipListMap<String, AbstractGraphRow> rows = models.get(vizualizerName);
        if (rows != null) {
            return rows.values().iterator();
        } else { 
            return emptyIterator;
        } 
    }