Java Doc for SignedMutableBigInteger.java in  » 6.0-JDK-Modules » j2me » 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 » 6.0 JDK Modules » j2me » java.math 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.math.MutableBigInteger
      java.math.SignedMutableBigInteger

SignedMutableBigInteger
class SignedMutableBigInteger extends MutableBigInteger (Code)
A class used to represent multiprecision integers that makes efficient use of allocated space by allowing a number to occupy only part of an array so that the arrays do not have to be reallocated as often. When performing an operation with many iterations the array used to hold a number is only increased when necessary and does not have to be the same size as the number it represents. A mutable number allows calculations to occur on the same number without having to create a new number for every step of the calculation as occurs with BigIntegers. Note that SignedMutableBigIntegers only support signed addition and subtraction. All other operations occur as with MutableBigIntegers.
See Also:   BigInteger
version:
   1.6, 02/02/00
author:
   Michael McCloskey
since:
   1.3


Field Summary
 intsign
     The sign of this MutableBigInteger.

Constructor Summary
 SignedMutableBigInteger()
     The default constructor.
 SignedMutableBigInteger(int val)
     Construct a new MutableBigInteger with a magnitude specified by the int val.
 SignedMutableBigInteger(MutableBigInteger val)
     Construct a new MutableBigInteger with a magnitude equal to the specified MutableBigInteger.

Method Summary
 voidsignedAdd(SignedMutableBigInteger addend)
     Signed addition built upon unsigned add and subtract.
 voidsignedAdd(MutableBigInteger addend)
     Signed addition built upon unsigned add and subtract.
 voidsignedSubtract(SignedMutableBigInteger addend)
     Signed subtraction built upon unsigned add and subtract.
 voidsignedSubtract(MutableBigInteger addend)
     Signed subtraction built upon unsigned add and subtract.
public  StringtoString()
     Print out the first intLen ints of this MutableBigInteger's value array starting at offset.

Field Detail
sign
int sign(Code)
The sign of this MutableBigInteger.




Constructor Detail
SignedMutableBigInteger
SignedMutableBigInteger()(Code)
The default constructor. An empty MutableBigInteger is created with a one word capacity.



SignedMutableBigInteger
SignedMutableBigInteger(int val)(Code)
Construct a new MutableBigInteger with a magnitude specified by the int val.



SignedMutableBigInteger
SignedMutableBigInteger(MutableBigInteger val)(Code)
Construct a new MutableBigInteger with a magnitude equal to the specified MutableBigInteger.




Method Detail
signedAdd
void signedAdd(SignedMutableBigInteger addend)(Code)
Signed addition built upon unsigned add and subtract.



signedAdd
void signedAdd(MutableBigInteger addend)(Code)
Signed addition built upon unsigned add and subtract.



signedSubtract
void signedSubtract(SignedMutableBigInteger addend)(Code)
Signed subtraction built upon unsigned add and subtract.



signedSubtract
void signedSubtract(MutableBigInteger addend)(Code)
Signed subtraction built upon unsigned add and subtract.



toString
public String toString()(Code)
Print out the first intLen ints of this MutableBigInteger's value array starting at offset.



Fields inherited from java.math.MutableBigInteger
int intLen(Code)(Java Doc)
int offset(Code)(Java Doc)
int[] value(Code)(Java Doc)

Methods inherited from java.math.MutableBigInteger
void add(MutableBigInteger addend)(Code)(Java Doc)
static int binaryGcd(int a, int b)(Code)(Java Doc)
void clear()(Code)(Java Doc)
final int compare(MutableBigInteger b)(Code)(Java Doc)
void copyValue(MutableBigInteger val)(Code)(Java Doc)
void copyValue(int[] val)(Code)(Java Doc)
void divide(MutableBigInteger b, MutableBigInteger quotient, MutableBigInteger rem)(Code)(Java Doc)
void divideOneWord(int divisor, MutableBigInteger quotient)(Code)(Java Doc)
MutableBigInteger euclidModInverse(int k)(Code)(Java Doc)
static MutableBigInteger fixup(MutableBigInteger c, MutableBigInteger p, int k)(Code)(Java Doc)
MutableBigInteger hybridGCD(MutableBigInteger b)(Code)(Java Doc)
static int inverseMod32(int val)(Code)(Java Doc)
boolean isEven()(Code)(Java Doc)
boolean isNormal()(Code)(Java Doc)
boolean isOdd()(Code)(Java Doc)
boolean isOne()(Code)(Java Doc)
boolean isZero()(Code)(Java Doc)
void leftShift(int n)(Code)(Java Doc)
static MutableBigInteger modInverseBP2(MutableBigInteger mod, int k)(Code)(Java Doc)
MutableBigInteger modInverseMP2(int k)(Code)(Java Doc)
void mul(int y, MutableBigInteger z)(Code)(Java Doc)
void multiply(MutableBigInteger y, MutableBigInteger z)(Code)(Java Doc)
MutableBigInteger mutableModInverse(MutableBigInteger p)(Code)(Java Doc)
final void normalize()(Code)(Java Doc)
void reset()(Code)(Java Doc)
void rightShift(int n)(Code)(Java Doc)
void setInt(int index, int val)(Code)(Java Doc)
void setValue(int[] val, int length)(Code)(Java Doc)
int subtract(MutableBigInteger b)(Code)(Java Doc)
int[] toIntArray()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.