Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

org::jfree::data::ComparableObjectItem::ComparableObjectItem ( Comparable  x,
Object  y 
) [inline]

Constructs a new data item.

Parameters:
x the x-value (null NOT permitted).
y the y-value (null permitted).

Definition at line 71 of file ComparableObjectItem.java.

References obj.

                                                        {
        if (x == null) {
            throw new IllegalArgumentException("Null 'x' argument.");
        }
        this.x = x;
        this.obj = y;
    }


Generated by  Doxygen 1.6.0   Back to index