// Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the GNU General Public License version 2 or later.
package eg;
import fit.ColumnFixture;
public class Division extends ColumnFixture
{
public double numerator;
public double denominator;
public double quotient() {
return numerator/denominator;
}
}
Compare to the Wiki markup
|eg.Division|
|numerator|denominator|quotient?|
|10 |2 |5 |
|12.6 |3 |4.2 |
|100 |4 |24 |
First line of the table references the adapter class using a fully package qualified class name.
Input data are public fields?!
Result (suffixed with a question mark) is a method.