public abstract class IlpAbstractComparator extends Object implements IlpMutableComparator
IlpMutableComparator
.
It provides support for notification.Constructor and Description |
---|
IlpAbstractComparator()
Creates an
IlpAbstractComparator . |
IlpAbstractComparator(Object source)
Creates and
IlpAbstractComparator . |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l)
Adds a listener to the comparator.
|
protected void |
fireStateChanged()
Fires a state change to indicate that the comparator has changed.
|
void |
removeChangeListener(ChangeListener l)
Removes a listener from the comparator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public IlpAbstractComparator()
IlpAbstractComparator
.
It will use this
as the source of events.public IlpAbstractComparator(Object source)
IlpAbstractComparator
.
It will use the source parameter as the source of the event, for example,
if you extend this class to create a support class.public void addChangeListener(ChangeListener l)
addChangeListener
in interface IlpMutableComparator
l
- The ChangeListener
to be added.public void removeChangeListener(ChangeListener l)
removeChangeListener
in interface IlpMutableComparator
l
- The ChangeListener
to be removed.protected void fireStateChanged()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.