All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nuggets.delegate.DShortArray Maven / Gradle / Ivy

The newest version!
/*
 * DshortsArray.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;

/** DshortsArray 
 * @author walczak
 * @since  Jan 18, 2006
 */
public class DShortArray 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", "[S");
		short[] a=(short[]) o;
		int len=a.length;
		mill.put("length", Integer.toString(len));
		for(int i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy