Code example for ConcurrentSkipListMap

Methods: values

0
    private Iterator<AbstractGraphRow> emptyIterator = null;
    private CompositeNotifierInterface notifier = null;
 
    public CompositeModel() { 
        models = new ConcurrentSkipListMap<String, ConcurrentSkipListMap<String, AbstractGraphRow>>();
        emptyIterator = new ConcurrentSkipListMap<String, AbstractGraphRow>().values().iterator();
    } 
 
    //needed to refresh tree if row model changed 
    public void setNotifier(CompositeNotifierInterface notifier) {
        this.notifier = notifier;
    } 
 
    public void clear() { 
        models.clear();
    } 
 
    private synchronized ConcurrentSkipListMap<String, AbstractGraphRow> getRowsMap(String vizualizerName) {
        ConcurrentSkipListMap<String, AbstractGraphRow> rows = models.get(vizualizerName);
        if (rows == null) {
            rows = new ConcurrentSkipListMap<String, AbstractGraphRow>();