Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
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.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team