src/main/java/tuupertunut/hintahaku/event/ChangeSupport.java
/* 0 is the default priority. Higher values get executed first. */
0 is the default priority. Higher values get executed first.
0 is the default priority . Higher values get executed first .
public void addListener(int priority, ChangeListener listener) {
        if (!listeners.containsKey(priority)) {
            listeners.put(priority, new ArrayList<>());
        }
        listeners.get(priority).add(listener);
    }
public void addListener ( int priority , ChangeListener listener ) { if ( ! listeners . containsKey ( priority ) ) { listeners . put ( priority , new ArrayList < > ( ) ) ; } listeners . get ( priority ) . add ( listener ) ; }
0 is the default priority.
0 is the default priority .