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

org.jace.metaclass.DoubleClass Maven / Gradle / Ivy

There is a newer version: 1.2.22
Show newest version
package org.jace.metaclass;

/**
 * Represents the meta-data for the java primitive, 'double'.
 *
 * @author Toby Reyelts
 * @author Gili Tzabari
 */
public class DoubleClass extends PrimitiveMetaClass
{
	/**
	 * Creates a new DoubleClass.
	 *
	 * @param isProxy true if the object represents a proxy
	 */
	public DoubleClass(boolean isProxy)
	{
		super(isProxy);
	}

	@Override
	protected MetaClass newInstance(boolean isProxy)
	{
		return new DoubleClass(isProxy);
	}

	@Override
	public String getSimpleName()
	{
		return "JDouble";
	}

	@Override
	public boolean equals(Object obj)
	{
		return obj instanceof DoubleClass;
	}

	@Override
	public int hashCode()
	{
		return getSimpleName().hashCode();
	}

	@Override
	public String getJniType()
	{
		return "jdouble";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy