All pastes #958577 Raw Edit

Something

public text v1 · immutable
#958577 ·published 2008-03-26 20:28 UTC
rendered paste body
The Interface:
--------------

public interface ConfigChangedListener<T extends Serializable> {

    /**
     * A configuration entry has been modified.
     */
    public void configValueChanged(BaseConfig<T> configEntry, T oldValue, T newValue);
}


The code where I am trying to instanciate it:
---------------------------------------------

        ConfigChangedListener<? extends Serializable> myListener = new ConfigChangedListener<T extends Serializable>() {

            public void configValueChanged(BaseConfig<T> configEntry, T oldValue, T newValue) {

            }

        };