Bug 127861 [DataBinding] Mark API provisional
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/contentprovider/test/SomeMathFunction.java
package org.eclipse.jface.examples.databinding.contentprovider.test;
import org.eclipse.jface.databinding.ChangeEvent;
import org.eclipse.jface.databinding.IReadableSet;
import org.eclipse.jface.databinding.updatables.UpdatableFunction;
/**
 * Simple function that performs one of three operations on Doubles:
 * <ul>
 * <li>Multiply by two</li>
 * <li>Round to nearest integer</li>
 * <li>Do nothing</li>
 * </ul>
 * 
 * @since 3.2
 */
public class SomeMathFunction extends UpdatableFunction {
	public static final int OP_IDENTITY = 0;
	public static final int OP_MULTIPLY = 1;
	public static final int OP_ROUND = 2;