signature : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

signature
Java has a way of compactly encoding the types of each parameter and the return type on a given method. This string is called the method’s signature. The signature for a simple method that had one int parameter and a void result would be (I)V. A class might be encoded Ljava/io/PrintStream. A String would be Ljava/lang/String whereas a String[] would be [Ljava/lang/String

Another variant of the scheme is used in JNI to concoct names for C methods to match up with the corresponding Java method.

These encodings is used inside class files inside the byte code.

Learning More



This page is posted
on the web at:

http://mindprod.com/jgloss/signature.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\signature.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[54.163.159.27]
You are visitor number