org.apache.tomcat.util.bcel.classfile
Class ConstantLong
java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
org.apache.tomcat.util.bcel.classfile.ConstantLong
- All Implemented Interfaces:
- Serializable, Cloneable, ConstantObject
public final class ConstantLong
- extends Constant
- implements ConstantObject
This class is derived from the abstract
Constant class
and represents a reference to a long object.
- Version:
- $Id: ConstantLong.java 992409 2010-09-03 18:35:59Z markt $
- Author:
- M. Dahm
- See Also:
Constant
,
Serialized Form
Fields inherited from class org.apache.tomcat.util.bcel.classfile.Constant |
tag |
ConstantLong
public ConstantLong(long bytes)
- Parameters:
bytes
- Data
dump
public final void dump(DataOutputStream file)
throws IOException
- Dump constant long to file stream in binary format.
- Specified by:
dump
in class Constant
- Parameters:
file
- Output file stream
- Throws:
IOException
getBytes
public final long getBytes()
- Returns:
- data, i.e., 8 bytes.
toString
public final String toString()
- Overrides:
toString
in class Constant
- Returns:
- String representation.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.