Java Doc for SimpleBigDecimal.java in  » Security » Bouncy-Castle » org » bouncycastle » math » ec » 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 » Security » Bouncy Castle » org.bouncycastle.math.ec 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.bouncycastle.math.ec.SimpleBigDecimal

SimpleBigDecimal
class SimpleBigDecimal (Code)
Class representing a simple version of a big decimal. A SimpleBigDecimal is basically a java.math.BigInteger BigInteger with a few digits on the right of the decimal point. The number of (binary) digits on the right of the decimal point is called the scale of the SimpleBigDecimal. Unlike in java.math.BigDecimal BigDecimal , the scale is not adjusted automatically, but must be set manually. All SimpleBigDecimals taking part in the same arithmetic operation must have equal scale. The result of a multiplication of two SimpleBigDecimals returns a SimpleBigDecimal with double scale.



Constructor Summary
public  SimpleBigDecimal(BigInteger bigInt, int scale)
     Constructor for SimpleBigDecimal.

Method Summary
public  SimpleBigDecimaladd(SimpleBigDecimal b)
    
public  SimpleBigDecimaladd(BigInteger b)
    
public  SimpleBigDecimaladjustScale(int newScale)
    
public  intcompareTo(SimpleBigDecimal val)
    
public  intcompareTo(BigInteger val)
    
public  SimpleBigDecimaldivide(SimpleBigDecimal b)
    
public  SimpleBigDecimaldivide(BigInteger b)
    
public  doubledoubleValue()
    
public  booleanequals(Object o)
    
public  floatfloatValue()
    
public  BigIntegerfloor()
    
public static  SimpleBigDecimalgetInstance(BigInteger value, int scale)
     Returns a SimpleBigDecimal representing the same numerical value as value.
Parameters:
  value - The value of the SimpleBigDecimal to becreated.
public  intgetScale()
    
public  inthashCode()
    
public  intintValue()
    
public  longlongValue()
    
public  SimpleBigDecimalmultiply(SimpleBigDecimal b)
    
public  SimpleBigDecimalmultiply(BigInteger b)
    
public  SimpleBigDecimalnegate()
    
public  BigIntegerround()
    
public  SimpleBigDecimalshiftLeft(int n)
    
public  SimpleBigDecimalsubtract(SimpleBigDecimal b)
    
public  SimpleBigDecimalsubtract(BigInteger b)
    
public  StringtoString()
    


Constructor Detail
SimpleBigDecimal
public SimpleBigDecimal(BigInteger bigInt, int scale)(Code)
Constructor for SimpleBigDecimal. The value of the constructed SimpleBigDecimal equals bigInt / 2scale.
Parameters:
  bigInt - The bigInt value parameter.
Parameters:
  scale - The scale of the constructed SimpleBigDecimal.




Method Detail
add
public SimpleBigDecimal add(SimpleBigDecimal b)(Code)



add
public SimpleBigDecimal add(BigInteger b)(Code)



adjustScale
public SimpleBigDecimal adjustScale(int newScale)(Code)



compareTo
public int compareTo(SimpleBigDecimal val)(Code)



compareTo
public int compareTo(BigInteger val)(Code)



divide
public SimpleBigDecimal divide(SimpleBigDecimal b)(Code)



divide
public SimpleBigDecimal divide(BigInteger b)(Code)



doubleValue
public double doubleValue()(Code)



equals
public boolean equals(Object o)(Code)



floatValue
public float floatValue()(Code)



floor
public BigInteger floor()(Code)



getInstance
public static SimpleBigDecimal getInstance(BigInteger value, int scale)(Code)
Returns a SimpleBigDecimal representing the same numerical value as value.
Parameters:
  value - The value of the SimpleBigDecimal to becreated.
Parameters:
  scale - The scale of the SimpleBigDecimal to becreated. The such created SimpleBigDecimal.



getScale
public int getScale()(Code)



hashCode
public int hashCode()(Code)



intValue
public int intValue()(Code)



longValue
public long longValue()(Code)



multiply
public SimpleBigDecimal multiply(SimpleBigDecimal b)(Code)



multiply
public SimpleBigDecimal multiply(BigInteger b)(Code)



negate
public SimpleBigDecimal negate()(Code)



round
public BigInteger round()(Code)



shiftLeft
public SimpleBigDecimal shiftLeft(int n)(Code)



subtract
public SimpleBigDecimal subtract(SimpleBigDecimal b)(Code)



subtract
public SimpleBigDecimal subtract(BigInteger b)(Code)



toString
public String toString()(Code)



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.