
nuggets.delegate.DFloatArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-nuggets Show documentation
Show all versions of jadex-nuggets Show documentation
The Jadex nuggets is a fast Java bean to
XML and back converter.
The newest version!
/*
* DfloatsArray.java
* Copyright (c) 2005 by University of Hamburg. All Rights Reserved.
* Departament of Informatics.
* Distributed Systems and Information Systems.
*
* Created by walczak on Jan 18, 2006.
* Last revision $Revision: 4064 $ by:
* $Author: walczak $ on $Date: 2006-02-23 18:48:47 +0100 (Do, 23 Feb 2006) $.
*/
package nuggets.delegate;
import nuggets.IAssembler;
import nuggets.ICruncher;
/** DfloatsArray
* @author walczak
* @since Jan 18, 2006
*/
public class DFloatArray extends ADelegate
{
/**
* @param o
* @param mill
* @see nuggets.delegate.ADelegate#persist(java.lang.Object, nuggets.ICruncher)
*/
public void persist(Object o, ICruncher mill, ClassLoader classloader)
{
mill.startConcept(o);
mill.put("type", "[F");
float[] a=(float[]) o;
int len=a.length;
mill.put("length", Integer.toString(len));
for(int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy