main/plugins/org.talend.libraries.jfreechart.jars/lib_src/jfreechart-1.0.12/source/org/jfree/chart/axis/TickUnits.java
/**
     * Adds a tick unit to the collection.  The tick units are maintained in
     * ascending order.
     *
     * @param unit  the tick unit to add (<code>null</code> not permitted).
     */
Adds a tick unit to the collection.  The tick units are maintained in
ascending order.

@param unit  the tick unit to add (null not permitted).
Adds a tick unit to the collection . The tick units are maintained in ascending order . @param unit the tick unit to add ( null not permitted ) .
public void add(TickUnit unit) {
        if (unit == null) {
            throw new NullPointerException("Null 'unit' argument.");
        }
        this.tickUnits.add(unit);
        Collections.sort(this.tickUnits);
    }
public void add ( TickUnit unit ) { if ( unit == null ) { throw new NullPointerException ( "Null 'unit' argument." ) ; } this . tickUnits . add ( unit ) ; Collections . sort ( this . tickUnits ) ; }
Adds a tick unit to the collection.
Adds a tick unit to the collection .