/** * <copyright> * * Copyright (c) 2009, 2010 Springsite BV (The Netherlands) and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Martin Taal - Initial API and implementation * * </copyright> * * $Id: FloatDataGenerator.java,v 1.5 2011/08/25 12:33:42 mtaal Exp $ */ package org.eclipse.emf.texo.datagenerator.attributegenerators; import org.eclipse.emf.texo.datagenerator.EDataTypeDataGenerator; /** * Generates a Float value. * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> * @version $Revision: 1.5 $ */ public class FloatDataGenerator extends EDataTypeDataGenerator { private float index = 0; @Override protected Object getNextValue() { index += 0.1; return index; } }