Java Doc for BigDecimal.java in  » Apache-Harmony-Java-SE » java-package » java » math » 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 » Apache Harmony Java SE » java package » java.math 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Number
      java.math.BigDecimal

BigDecimal
public class BigDecimal extends Number implements Comparable<BigDecimal>,Serializable(Code)

author:
   Intel Middleware Product Division
author:
   Instituto Tecnologico de Cordoba


Field Summary
final public static  BigDecimalONE
    
final public static  intROUND_CEILING
    
final public static  intROUND_DOWN
    
final public static  intROUND_FLOOR
    
final public static  intROUND_HALF_DOWN
    
final public static  intROUND_HALF_EVEN
    
final public static  intROUND_HALF_UP
    
final public static  intROUND_UNNECESSARY
    
final public static  intROUND_UP
    
final public static  BigDecimalTEN
    
final public static  BigDecimalZERO
    

Constructor Summary
public  BigDecimal(char[] in, int offset, int len)
    
public  BigDecimal(char[] in, int offset, int len, MathContext mc)
    
public  BigDecimal(char[] in)
    
public  BigDecimal(char[] in, MathContext mc)
    
public  BigDecimal(String val)
    
public  BigDecimal(String val, MathContext mc)
    
public  BigDecimal(double val)
    
public  BigDecimal(double val, MathContext mc)
    
public  BigDecimal(BigInteger val)
    
public  BigDecimal(BigInteger val, MathContext mc)
    
public  BigDecimal(BigInteger unscaledVal, int scale)
    
public  BigDecimal(BigInteger unscaledVal, int scale, MathContext mc)
    
public  BigDecimal(int val)
    
public  BigDecimal(int val, MathContext mc)
    
public  BigDecimal(long val)
    
public  BigDecimal(long val, MathContext mc)
    

Method Summary
public  BigDecimalabs()
    
public  BigDecimalabs(MathContext mc)
    
public  BigDecimaladd(BigDecimal augend)
    
public  BigDecimaladd(BigDecimal augend, MathContext mc)
    
public  bytebyteValueExact()
    
public  intcompareTo(BigDecimal val)
    
public  BigDecimaldivide(BigDecimal divisor, int scale, int roundingMode)
    
public  BigDecimaldivide(BigDecimal divisor, int scale, RoundingMode roundingMode)
    
public  BigDecimaldivide(BigDecimal divisor, int roundingMode)
    
public  BigDecimaldivide(BigDecimal divisor, RoundingMode roundingMode)
    
public  BigDecimaldivide(BigDecimal divisor)
    
public  BigDecimaldivide(BigDecimal divisor, MathContext mc)
    
public  BigDecimal[]divideAndRemainder(BigDecimal divisor)
    
public  BigDecimal[]divideAndRemainder(BigDecimal divisor, MathContext mc)
    
public  BigDecimaldivideToIntegralValue(BigDecimal divisor)
    
public  BigDecimaldivideToIntegralValue(BigDecimal divisor, MathContext mc)
    
public  doubledoubleValue()
    
public  booleanequals(Object x)
    
public  floatfloatValue()
    
public  inthashCode()
    
public  intintValue()
    
public  intintValueExact()
    
public  longlongValue()
    
public  longlongValueExact()
    
public  BigDecimalmax(BigDecimal val)
    
public  BigDecimalmin(BigDecimal val)
    
public  BigDecimalmovePointLeft(int n)
    
public  BigDecimalmovePointRight(int n)
    
public  BigDecimalmultiply(BigDecimal multiplicand)
    
public  BigDecimalmultiply(BigDecimal multiplicand, MathContext mc)
    
public  BigDecimalnegate()
    
public  BigDecimalnegate(MathContext mc)
    
public  BigDecimalplus()
    
public  BigDecimalplus(MathContext mc)
    
public  BigDecimalpow(int n)
    
public  BigDecimalpow(int n, MathContext mc)
    
public  intprecision()
    
public  BigDecimalremainder(BigDecimal divisor)
    
public  BigDecimalremainder(BigDecimal divisor, MathContext mc)
    
public  BigDecimalround(MathContext mc)
    
public  intscale()
    
public  BigDecimalscaleByPowerOfTen(int n)
    
public  BigDecimalsetScale(int newScale, RoundingMode roundingMode)
    
public  BigDecimalsetScale(int newScale, int roundingMode)
    
public  BigDecimalsetScale(int newScale)
    
public  shortshortValueExact()
    
public  intsignum()
    
public  BigDecimalstripTrailingZeros()
    
public  BigDecimalsubtract(BigDecimal subtrahend)
    
public  BigDecimalsubtract(BigDecimal subtrahend, MathContext mc)
    
public  BigIntegertoBigInteger()
    
public  BigIntegertoBigIntegerExact()
    
public  StringtoEngineeringString()
    
public  StringtoPlainString()
    
public  StringtoString()
    
public  BigDecimalulp()
    
public  BigIntegerunscaledValue()
    
public static  BigDecimalvalueOf(long unscaledVal, int scale)
    
public static  BigDecimalvalueOf(long unscaledVal)
    
public static  BigDecimalvalueOf(double val)
    

Field Detail
ONE
final public static BigDecimal ONE(Code)



ROUND_CEILING
final public static int ROUND_CEILING(Code)



ROUND_DOWN
final public static int ROUND_DOWN(Code)



ROUND_FLOOR
final public static int ROUND_FLOOR(Code)



ROUND_HALF_DOWN
final public static int ROUND_HALF_DOWN(Code)



ROUND_HALF_EVEN
final public static int ROUND_HALF_EVEN(Code)



ROUND_HALF_UP
final public static int ROUND_HALF_UP(Code)



ROUND_UNNECESSARY
final public static int ROUND_UNNECESSARY(Code)



ROUND_UP
final public static int ROUND_UP(Code)



TEN
final public static BigDecimal TEN(Code)



ZERO
final public static BigDecimal ZERO(Code)




Constructor Detail
BigDecimal
public BigDecimal(char[] in, int offset, int len)(Code)



BigDecimal
public BigDecimal(char[] in, int offset, int len, MathContext mc)(Code)



BigDecimal
public BigDecimal(char[] in)(Code)



BigDecimal
public BigDecimal(char[] in, MathContext mc)(Code)



BigDecimal
public BigDecimal(String val)(Code)



BigDecimal
public BigDecimal(String val, MathContext mc)(Code)



BigDecimal
public BigDecimal(double val)(Code)



BigDecimal
public BigDecimal(double val, MathContext mc)(Code)



BigDecimal
public BigDecimal(BigInteger val)(Code)



BigDecimal
public BigDecimal(BigInteger val, MathContext mc)(Code)



BigDecimal
public BigDecimal(BigInteger unscaledVal, int scale)(Code)



BigDecimal
public BigDecimal(BigInteger unscaledVal, int scale, MathContext mc)(Code)



BigDecimal
public BigDecimal(int val)(Code)



BigDecimal
public BigDecimal(int val, MathContext mc)(Code)



BigDecimal
public BigDecimal(long val)(Code)



BigDecimal
public BigDecimal(long val, MathContext mc)(Code)




Method Detail
abs
public BigDecimal abs()(Code)



abs
public BigDecimal abs(MathContext mc)(Code)



add
public BigDecimal add(BigDecimal augend)(Code)



add
public BigDecimal add(BigDecimal augend, MathContext mc)(Code)



byteValueExact
public byte byteValueExact()(Code)



compareTo
public int compareTo(BigDecimal val)(Code)



divide
public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode)(Code)



divide
public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode)(Code)



divide
public BigDecimal divide(BigDecimal divisor, int roundingMode)(Code)



divide
public BigDecimal divide(BigDecimal divisor, RoundingMode roundingMode)(Code)



divide
public BigDecimal divide(BigDecimal divisor)(Code)



divide
public BigDecimal divide(BigDecimal divisor, MathContext mc)(Code)



divideAndRemainder
public BigDecimal[] divideAndRemainder(BigDecimal divisor)(Code)



divideAndRemainder
public BigDecimal[] divideAndRemainder(BigDecimal divisor, MathContext mc)(Code)



divideToIntegralValue
public BigDecimal divideToIntegralValue(BigDecimal divisor)(Code)



divideToIntegralValue
public BigDecimal divideToIntegralValue(BigDecimal divisor, MathContext mc)(Code)



doubleValue
public double doubleValue()(Code)



equals
public boolean equals(Object x)(Code)



floatValue
public float floatValue()(Code)



hashCode
public int hashCode()(Code)



intValue
public int intValue()(Code)



intValueExact
public int intValueExact()(Code)



longValue
public long longValue()(Code)



longValueExact
public long longValueExact()(Code)



max
public BigDecimal max(BigDecimal val)(Code)



min
public BigDecimal min(BigDecimal val)(Code)



movePointLeft
public BigDecimal movePointLeft(int n)(Code)



movePointRight
public BigDecimal movePointRight(int n)(Code)



multiply
public BigDecimal multiply(BigDecimal multiplicand)(Code)



multiply
public BigDecimal multiply(BigDecimal multiplicand, MathContext mc)(Code)



negate
public BigDecimal negate()(Code)



negate
public BigDecimal negate(MathContext mc)(Code)



plus
public BigDecimal plus()(Code)



plus
public BigDecimal plus(MathContext mc)(Code)



pow
public BigDecimal pow(int n)(Code)



pow
public BigDecimal pow(int n, MathContext mc)(Code)



precision
public int precision()(Code)



remainder
public BigDecimal remainder(BigDecimal divisor)(Code)



remainder
public BigDecimal remainder(BigDecimal divisor, MathContext mc)(Code)



round
public BigDecimal round(MathContext mc)(Code)



scale
public int scale()(Code)



scaleByPowerOfTen
public BigDecimal scaleByPowerOfTen(int n)(Code)



setScale
public BigDecimal setScale(int newScale, RoundingMode roundingMode)(Code)



setScale
public BigDecimal setScale(int newScale, int roundingMode)(Code)



setScale
public BigDecimal setScale(int newScale)(Code)



shortValueExact
public short shortValueExact()(Code)



signum
public int signum()(Code)



stripTrailingZeros
public BigDecimal stripTrailingZeros()(Code)



subtract
public BigDecimal subtract(BigDecimal subtrahend)(Code)



subtract
public BigDecimal subtract(BigDecimal subtrahend, MathContext mc)(Code)



toBigInteger
public BigInteger toBigInteger()(Code)



toBigIntegerExact
public BigInteger toBigIntegerExact()(Code)



toEngineeringString
public String toEngineeringString()(Code)



toPlainString
public String toPlainString()(Code)



toString
public String toString()(Code)



ulp
public BigDecimal ulp()(Code)



unscaledValue
public BigInteger unscaledValue()(Code)



valueOf
public static BigDecimal valueOf(long unscaledVal, int scale)(Code)



valueOf
public static BigDecimal valueOf(long unscaledVal)(Code)



valueOf
public static BigDecimal valueOf(double val)(Code)



Methods inherited from java.lang.Number
public byte byteValue()(Code)(Java Doc)
abstract public double doubleValue()(Code)(Java Doc)
abstract public float floatValue()(Code)(Java Doc)
abstract public int intValue()(Code)(Java Doc)
abstract public long longValue()(Code)(Java Doc)
public short shortValue()(Code)(Java Doc)

Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) 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.