Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Java Interface >

Fields

Fields[javaclass]
returns a list of the Java declarations for all fields of the specified JavaClass.
Fields["classname"]
lists the fields for the named class.
Fields[javaobject]
lists the fields for the class of the specified JavaObject.
  • To use Fields, you first need to load J/Link using Needs["JLink`"].
  • The resulting lists are returned in TableForm.
  • To make them easier to read, the declarations have had the keywords "transient" and "volatile" removed. The "public" keyword is also removed, as the fields are always public.
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team