Java Doc for Utils.java in  » Science » weka » weka » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » weka » weka.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   weka.core.Utils

Utils
final public class Utils (Code)
Class implementing some simple utility methods.
author:
   Eibe Frank
author:
   Yong Wang
author:
   Len Trigg
author:
   Julien Prados
version:
   $Revision: 1.57 $


Field Summary
public static  doubleSMALL
    
public static  doublelog2
     The natural logarithm of 2.


Method Summary
public static  StringarrayToString(Object array)
     Returns the given Array in a string representation.
public static  StringbackQuoteChars(String string)
     Converts carriage returns and new lines in a string into \r and \n.
public static  voidcheckForRemainingOptions(String[] options)
     Checks if the given array contains any non-empty options.
public static  StringconvertNewLines(String string)
     Converts carriage returns and new lines in a string into \r and \n.
final public static  doublecorrelation(double y1, double y2, int n)
     Returns the correlation coefficient of two double vectors.
public static  StringdoubleToString(double value, int afterDecimalPoint)
     Rounds a double and converts it into String.
public static  StringdoubleToString(double value, int width, int afterDecimalPoint)
     Rounds a double and converts it into a formatted decimal-justified String.
public static  booleaneq(double a, double b)
     Tests if a is equal to b.
public static  ObjectforName(Class classType, String className, String[] options)
     Creates a new instance of an object given it's class name and (optional) arguments to pass to it's setOptions method.
public static  ClassgetArrayClass(Class c)
     Returns the basic class of an array class (handles multi-dimensional arrays).
public static  intgetArrayDimensions(Class array)
     Returns the dimensions of the given array.
public static  intgetArrayDimensions(Object array)
     Returns the dimensions of the given array.
public static  booleangetFlag(char flag, String[] options)
     Checks if the given array contains the flag "-Char".
public static  booleangetFlag(String flag, String[] options)
     Checks if the given array contains the flag "-String".
public static  StringgetOption(char flag, String[] options)
     Gets an option indicated by a flag "-Char" from the given array of strings.
public static  StringgetOption(String flag, String[] options)
     Gets an option indicated by a flag "-String" from the given array of strings.
public static  intgetOptionPos(char flag, String[] options)
     Gets the index of an option or flag indicated by a flag "-Char" from the given array of strings.
public static  intgetOptionPos(String flag, String[] options)
     Gets the index of an option or flag indicated by a flag "-String" from the given array of strings.
public static  booleangr(double a, double b)
     Tests if a is greater than b.
public static  booleangrOrEq(double a, double b)
     Tests if a is greater or equal to b.
public static  doubleinfo(int counts)
     Computes entropy for an array of integers.
public static  StringjoinOptions(String[] optionArray)
     Joins all the options in an option array into a single string, as might be used on the command line.
public static  doublekthSmallestValue(int[] array, int k)
     Returns the kth-smallest value in the array.
public static  doublekthSmallestValue(double[] array, int k)
    
public static  doublelog2(double a)
     Returns the logarithm of a for base 2.
public static  double[]logs2probs(double[] a)
     Converts an array containing the natural logarithms of probabilities stored in a vector back into probabilities.
public static  voidmain(String[] ops)
     Main method for testing this class.
public static  intmaxIndex(double[] doubles)
     Returns index of maximum element in a given array of doubles.
public static  intmaxIndex(int[] ints)
     Returns index of maximum element in a given array of integers.
public static  doublemean(double[] vector)
     Computes the mean for an array of doubles.
public static  intminIndex(int[] ints)
     Returns index of minimum element in a given array of integers.
public static  intminIndex(double[] doubles)
     Returns index of minimum element in a given array of doubles.
public static  voidnormalize(double[] doubles)
     Normalizes the doubles in the array by their sum.
public static  voidnormalize(double[] doubles, double sum)
     Normalizes the doubles in the array using the given value.
public static  StringpadLeft(String inString, int length)
     Pads a string to a specified length, inserting spaces on the left as required.
public static  StringpadRight(String inString, int length)
     Pads a string to a specified length, inserting spaces on the right as required.
public static  String[]partitionOptions(String[] options)
     Returns the secondary set of options (if any) contained in the supplied options array.
public static  intprobRound(double value, Random rand)
     Rounds a double to the next nearest integer value in a probabilistic fashion (e.g.
public static  doubleprobToLogOdds(double prob)
     Returns the log-odds for a given probabilitiy.
public static  Stringquote(String string)
     Quotes a string if it contains special characters.
public static  PropertiesreadProperties(String resourceName)
     Reads properties that inherit from three locations.
public static  StringremoveSubstring(String inString, String substring)
     Removes all occurrences of a string from another string.
Parameters:
  inString - the string to remove substrings from.
Parameters:
  substring - the substring to remove.
public static  StringreplaceSubstring(String inString, String subString, String replaceString)
     Replaces with a new string, all occurrences of a string from another string.
public static  StringrevertNewLines(String string)
     Reverts \r and \n in a string into carriage returns and new lines.
public static  intround(double value)
     Rounds a double to the next nearest integer value.
public static  doubleroundDouble(double value, int afterDecimalPoint)
     Rounds a double to the given number of decimal places.
public static  booleansm(double a, double b)
     Tests if a is smaller than b.
public static  booleansmOrEq(double a, double b)
     Tests if a is smaller or equal to b.
public static  int[]sort(int[] array)
     Sorts a given array of integers in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array.
public static  int[]sort(double[] array)
     Sorts a given array of doubles in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array.
public static  String[]splitOptions(String quotedOptionString)
     Split up a string containing options into an array of strings, one for each option.
public static  int[]stableSort(double[] array)
     Sorts a given array of doubles in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array.
public static  doublesum(double[] doubles)
     Computes the sum of the elements of an array of doubles.
public static  intsum(int[] ints)
     Computes the sum of the elements of an array of integers.
public static  StringunbackQuoteChars(String string)
     The inverse operation of backQuoteChars().
public static  Stringunquote(String string)
     unquotes are previously quoted string (but only if necessary), i.e., it removes the single quotes around it.
public static  doublevariance(double[] vector)
     Computes the variance for an array of doubles.
public static  doublexlogx(int c)
     Returns c*log2(c) for a given integer value c.

Field Detail
SMALL
public static double SMALL(Code)
The small deviation allowed in double comparisons



log2
public static double log2(Code)
The natural logarithm of 2.





Method Detail
arrayToString
public static String arrayToString(Object array)(Code)
Returns the given Array in a string representation. Even though the parameter is of type "Object" one can hand over primitve arrays, e.g. int[3] or double[2][4].
Parameters:
  array - the array to return in a string representation the array as string



backQuoteChars
public static String backQuoteChars(String string)(Code)
Converts carriage returns and new lines in a string into \r and \n. Backquotes the following characters: ` " \ \t and %
Parameters:
  string - the string the converted string
See Also:   Utils.unbackQuoteChars(String)



checkForRemainingOptions
public static void checkForRemainingOptions(String[] options) throws Exception(Code)
Checks if the given array contains any non-empty options.
Parameters:
  options - an array of strings
exception:
  Exception - if there are any non-empty options



convertNewLines
public static String convertNewLines(String string)(Code)
Converts carriage returns and new lines in a string into \r and \n.
Parameters:
  string - the string the converted string



correlation
final public static double correlation(double y1, double y2, int n)(Code)
Returns the correlation coefficient of two double vectors.
Parameters:
  y1 - double vector 1
Parameters:
  y2 - double vector 2
Parameters:
  n - the length of two double vectors the correlation coefficient



doubleToString
public static String doubleToString(double value, int afterDecimalPoint)(Code)
Rounds a double and converts it into String.
Parameters:
  value - the double value
Parameters:
  afterDecimalPoint - the (maximum) number of digits permittedafter the decimal point the double as a formatted string



doubleToString
public static String doubleToString(double value, int width, int afterDecimalPoint)(Code)
Rounds a double and converts it into a formatted decimal-justified String. Trailing 0's are replaced with spaces.
Parameters:
  value - the double value
Parameters:
  width - the width of the string
Parameters:
  afterDecimalPoint - the number of digits after the decimal point the double as a formatted string



eq
public static boolean eq(double a, double b)(Code)
Tests if a is equal to b.
Parameters:
  a - a double
Parameters:
  b - a double



forName
public static Object forName(Class classType, String className, String[] options) throws Exception(Code)
Creates a new instance of an object given it's class name and (optional) arguments to pass to it's setOptions method. If the object implements OptionHandler and the options parameter is non-null, the object will have it's options set. Example use:

 String classifierName = Utils.getOption('W', options);
 Classifier c = (Classifier)Utils.forName(Classifier.class,
 classifierName,
 options);
 setClassifier(c);
 

Parameters:
  classType - the class that the instantiated object shouldbe assignable to -- an exception is thrown if this is not the case
Parameters:
  className - the fully qualified class name of the object
Parameters:
  options - an array of options suitable for passing to setOptions. Maybe null. Any options accepted by the object will be removed from thearray. the newly created object, ready for use.
exception:
  Exception - if the class name is invalid, or if theclass is not assignable to the desired class type, or the optionssupplied are not acceptable to the object



getArrayClass
public static Class getArrayClass(Class c)(Code)
Returns the basic class of an array class (handles multi-dimensional arrays).
Parameters:
  c - the array to inspect the class of the innermost elements



getArrayDimensions
public static int getArrayDimensions(Class array)(Code)
Returns the dimensions of the given array. Even though the parameter is of type "Object" one can hand over primitve arrays, e.g. int[3] or double[2][4].
Parameters:
  array - the array to determine the dimensions for the dimensions of the array



getArrayDimensions
public static int getArrayDimensions(Object array)(Code)
Returns the dimensions of the given array. Even though the parameter is of type "Object" one can hand over primitve arrays, e.g. int[3] or double[2][4].
Parameters:
  array - the array to determine the dimensions for the dimensions of the array



getFlag
public static boolean getFlag(char flag, String[] options) throws Exception(Code)
Checks if the given array contains the flag "-Char". Stops searching at the first marker "--". If the flag is found, it is replaced with the empty string.
Parameters:
  flag - the character indicating the flag.
Parameters:
  options - the array of strings containing all the options. true if the flag was found
exception:
  Exception - if an illegal option was found



getFlag
public static boolean getFlag(String flag, String[] options) throws Exception(Code)
Checks if the given array contains the flag "-String". Stops searching at the first marker "--". If the flag is found, it is replaced with the empty string.
Parameters:
  flag - the String indicating the flag.
Parameters:
  options - the array of strings containing all the options. true if the flag was found
exception:
  Exception - if an illegal option was found



getOption
public static String getOption(char flag, String[] options) throws Exception(Code)
Gets an option indicated by a flag "-Char" from the given array of strings. Stops searching at the first marker "--". Replaces flag and option with empty strings.
Parameters:
  flag - the character indicating the option.
Parameters:
  options - the array of strings containing all the options. the indicated option or an empty string
exception:
  Exception - if the option indicated by the flag can't be found



getOption
public static String getOption(String flag, String[] options) throws Exception(Code)
Gets an option indicated by a flag "-String" from the given array of strings. Stops searching at the first marker "--". Replaces flag and option with empty strings.
Parameters:
  flag - the String indicating the option.
Parameters:
  options - the array of strings containing all the options. the indicated option or an empty string
exception:
  Exception - if the option indicated by the flag can't be found



getOptionPos
public static int getOptionPos(char flag, String[] options)(Code)
Gets the index of an option or flag indicated by a flag "-Char" from the given array of strings. Stops searching at the first marker "--".
Parameters:
  flag - the character indicating the option.
Parameters:
  options - the array of strings containing all the options. the position if found, or -1 otherwise



getOptionPos
public static int getOptionPos(String flag, String[] options)(Code)
Gets the index of an option or flag indicated by a flag "-String" from the given array of strings. Stops searching at the first marker "--".
Parameters:
  flag - the String indicating the option.
Parameters:
  options - the array of strings containing all the options. the position if found, or -1 otherwise



gr
public static boolean gr(double a, double b)(Code)
Tests if a is greater than b.
Parameters:
  a - a double
Parameters:
  b - a double



grOrEq
public static boolean grOrEq(double a, double b)(Code)
Tests if a is greater or equal to b.
Parameters:
  a - a double
Parameters:
  b - a double



info
public static double info(int counts)(Code)
Computes entropy for an array of integers.
Parameters:
  counts - array of counts - a log2 a - b log2 b - c log2 c + (a+b+c) log2 (a+b+c)when given array [a b c]



joinOptions
public static String joinOptions(String[] optionArray)(Code)
Joins all the options in an option array into a single string, as might be used on the command line.
Parameters:
  optionArray - the array of options the string containing all options.



kthSmallestValue
public static double kthSmallestValue(int[] array, int k)(Code)
Returns the kth-smallest value in the array.
Parameters:
  array - the array of integers
Parameters:
  k - the value of k the kth-smallest value



kthSmallestValue
public static double kthSmallestValue(double[] array, int k)(Code)
Returns the kth-smallest value in the array
Parameters:
  array - the array of double
Parameters:
  k - the value of k the kth-smallest value



log2
public static double log2(double a)(Code)
Returns the logarithm of a for base 2.
Parameters:
  a - a double the logarithm for base 2



logs2probs
public static double[] logs2probs(double[] a)(Code)
Converts an array containing the natural logarithms of probabilities stored in a vector back into probabilities. The probabilities are assumed to sum to one.
Parameters:
  a - an array holding the natural logarithms of the probabilities the converted array



main
public static void main(String[] ops)(Code)
Main method for testing this class.
Parameters:
  ops - some dummy options



maxIndex
public static int maxIndex(double[] doubles)(Code)
Returns index of maximum element in a given array of doubles. First maximum is returned.
Parameters:
  doubles - the array of doubles the index of the maximum element



maxIndex
public static int maxIndex(int[] ints)(Code)
Returns index of maximum element in a given array of integers. First maximum is returned.
Parameters:
  ints - the array of integers the index of the maximum element



mean
public static double mean(double[] vector)(Code)
Computes the mean for an array of doubles.
Parameters:
  vector - the array the mean



minIndex
public static int minIndex(int[] ints)(Code)
Returns index of minimum element in a given array of integers. First minimum is returned.
Parameters:
  ints - the array of integers the index of the minimum element



minIndex
public static int minIndex(double[] doubles)(Code)
Returns index of minimum element in a given array of doubles. First minimum is returned.
Parameters:
  doubles - the array of doubles the index of the minimum element



normalize
public static void normalize(double[] doubles)(Code)
Normalizes the doubles in the array by their sum.
Parameters:
  doubles - the array of double
exception:
  IllegalArgumentException - if sum is Zero or NaN



normalize
public static void normalize(double[] doubles, double sum)(Code)
Normalizes the doubles in the array using the given value.
Parameters:
  doubles - the array of double
Parameters:
  sum - the value by which the doubles are to be normalized
exception:
  IllegalArgumentException - if sum is zero or NaN



padLeft
public static String padLeft(String inString, int length)(Code)
Pads a string to a specified length, inserting spaces on the left as required. If the string is too long, characters are removed (from the right).
Parameters:
  inString - the input string
Parameters:
  length - the desired length of the output string the output string



padRight
public static String padRight(String inString, int length)(Code)
Pads a string to a specified length, inserting spaces on the right as required. If the string is too long, characters are removed (from the right).
Parameters:
  inString - the input string
Parameters:
  length - the desired length of the output string the output string



partitionOptions
public static String[] partitionOptions(String[] options)(Code)
Returns the secondary set of options (if any) contained in the supplied options array. The secondary set is defined to be any options after the first "--". These options are removed from the original options array.
Parameters:
  options - the input array of options the array of secondary options



probRound
public static int probRound(double value, Random rand)(Code)
Rounds a double to the next nearest integer value in a probabilistic fashion (e.g. 0.8 has a 20% chance of being rounded down to 0 and a 80% chance of being rounded up to 1). In the limit, the average of the rounded numbers generated by this procedure should converge to the original double.
Parameters:
  value - the double value
Parameters:
  rand - the random number generator the resulting integer value



probToLogOdds
public static double probToLogOdds(double prob)(Code)
Returns the log-odds for a given probabilitiy.
Parameters:
  prob - the probabilitiy the log-odds after the probability has been mapped to[Utils.SMALL, 1-Utils.SMALL]



quote
public static String quote(String string)(Code)
Quotes a string if it contains special characters. The following rules are applied: A character is backquoted version of it is one of " ' % \ \n \r \t. A string is enclosed within single quotes if a character has been backquoted using the previous rule above or contains { } or is exactly equal to the strings , ? space or "" (empty string). A quoted question mark distinguishes it from the missing value which is represented as an unquoted question mark in arff files.
Parameters:
  string - the string to be quoted the string (possibly quoted)
See Also:   Utils.unquote(String)



readProperties
public static Properties readProperties(String resourceName) throws Exception(Code)
Reads properties that inherit from three locations. Properties are first defined in the system resource location (i.e. in the CLASSPATH). These default properties must exist. Properties defined in the users home directory (optional) override default settings. Properties defined in the current directory (optional) override all these settings.
Parameters:
  resourceName - the location of the resource that should beloaded. e.g.: "weka/core/Utils.props". (The use of hardcodedforward slashes here is OK - seejdk1.1/docs/guide/misc/resources.html) This routine will alsolook for the file (in this case) "Utils.props" in the users homedirectory and the current directory. the Properties
exception:
  Exception - if no default properties are defined, or ifan error occurs reading the properties files.



removeSubstring
public static String removeSubstring(String inString, String substring)(Code)
Removes all occurrences of a string from another string.
Parameters:
  inString - the string to remove substrings from.
Parameters:
  substring - the substring to remove. the input string with occurrences of substring removed.



replaceSubstring
public static String replaceSubstring(String inString, String subString, String replaceString)(Code)
Replaces with a new string, all occurrences of a string from another string.
Parameters:
  inString - the string to replace substrings in.
Parameters:
  subString - the substring to replace.
Parameters:
  replaceString - the replacement substring the input string with occurrences of substring replaced.



revertNewLines
public static String revertNewLines(String string)(Code)
Reverts \r and \n in a string into carriage returns and new lines.
Parameters:
  string - the string the converted string



round
public static int round(double value)(Code)
Rounds a double to the next nearest integer value. The JDK version of it doesn't work properly.
Parameters:
  value - the double value the resulting integer value



roundDouble
public static double roundDouble(double value, int afterDecimalPoint)(Code)
Rounds a double to the given number of decimal places.
Parameters:
  value - the double value
Parameters:
  afterDecimalPoint - the number of digits after the decimal point the double rounded to the given precision



sm
public static boolean sm(double a, double b)(Code)
Tests if a is smaller than b.
Parameters:
  a - a double
Parameters:
  b - a double



smOrEq
public static boolean smOrEq(double a, double b)(Code)
Tests if a is smaller or equal to b.
Parameters:
  a - a double
Parameters:
  b - a double



sort
public static int[] sort(int[] array)(Code)
Sorts a given array of integers in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array. The sort is stable. (Equal elements remain in their original order.)
Parameters:
  array - this array is not changed by the method! an array of integers with the positions in the sortedarray.



sort
public static int[] sort(double[] array)(Code)
Sorts a given array of doubles in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array. NOTE THESE CHANGES: the sort is no longer stable and it doesn't use safe floating-point comparisons anymore. Occurrences of Double.NaN are treated as Double.MAX_VALUE
Parameters:
  array - this array is not changed by the method! an array of integers with the positions in the sortedarray.



splitOptions
public static String[] splitOptions(String quotedOptionString) throws Exception(Code)
Split up a string containing options into an array of strings, one for each option.
Parameters:
  quotedOptionString - the string containing the options the array of options
throws:
  Exception - in case of an unterminated string, unknown character ora parse error



stableSort
public static int[] stableSort(double[] array)(Code)
Sorts a given array of doubles in ascending order and returns an array of integers with the positions of the elements of the original array in the sorted array. The sort is stable (Equal elements remain in their original order.) Occurrences of Double.NaN are treated as Double.MAX_VALUE
Parameters:
  array - this array is not changed by the method! an array of integers with the positions in the sortedarray.



sum
public static double sum(double[] doubles)(Code)
Computes the sum of the elements of an array of doubles.
Parameters:
  doubles - the array of double the sum of the elements



sum
public static int sum(int[] ints)(Code)
Computes the sum of the elements of an array of integers.
Parameters:
  ints - the array of integers the sum of the elements



unbackQuoteChars
public static String unbackQuoteChars(String string)(Code)
The inverse operation of backQuoteChars(). Converts back-quoted carriage returns and new lines in a string to the corresponding character ('\r' and '\n'). Also "un"-back-quotes the following characters: ` " \ \t and %
Parameters:
  string - the string the converted string
See Also:   Utils.backQuoteChars(String)



unquote
public static String unquote(String string)(Code)
unquotes are previously quoted string (but only if necessary), i.e., it removes the single quotes around it. Inverse to quote(String).
Parameters:
  string - the string to process the unquoted string
See Also:   Utils.quote(String)



variance
public static double variance(double[] vector)(Code)
Computes the variance for an array of doubles.
Parameters:
  vector - the array the variance



xlogx
public static double xlogx(int c)(Code)
Returns c*log2(c) for a given integer value c.
Parameters:
  c - an integer value c*log2(c) (but is careful to return 0 if c is 0)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.