Methods

Methods[javaclass]
returns a list of the Java declarations for all methods of the specified JavaClass.

Methods["classname"]
lists the methods for the named class.

Methods[javaobject]
lists the methods for the class of the specified JavaObject.

Details and OptionsDetails and Options

  • To use Methods, you first need to load J/Link using Needs["JLink`"].
  • The resulting lists are returned in TableForm.
  • To make them easier to read, some keywords that are not very relevant to their use from Mathematica are removed. These keywords are "final", "synchronized", and "native". The "public" keyword is also removed, as the methods are always public.
New to Mathematica? Find your learning path »
Have a question? Ask support »