Java Doc for BigIntegerCompareTest.java in » Apache-Harmony-Java-SE » org-package » org » apache » harmony » tests » 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
»
org package
»
org.apache.harmony.tests.java.math
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.harmony.tests.java.math
.BigIntegerCompareTest
BigIntegerCompareTest
public
class BigIntegerCompareTest extends TestCase
(Code)
Class: java.math.BigInteger Methods: abs, compareTo, equals, max, min, negate, signum
Method Summary
public
void
testAbsNegative
()
public
void
testAbsPositive
()
public
void
testCompareNegNeg2
()
compareTo(BigInteger a).
public
void
testCompareToDiffSigns1
()
compareTo(BigInteger a).
public
void
testCompareToDiffSigns2
()
compareTo(BigInteger a).
public
void
testCompareToEqualNeg
()
compareTo(BigInteger a).
public
void
testCompareToEqualPos
()
compareTo(BigInteger a).
public
void
testCompareToNegNeg1
()
compareTo(BigInteger a).
public
void
testCompareToNegZero
()
compareTo(BigInteger a).
public
void
testCompareToPosPos1
()
compareTo(BigInteger a).
public
void
testCompareToPosPos2
()
compareTo(BigInteger a).
public
void
testCompareToPosZero
()
compareTo(BigInteger a).
public
void
testCompareToZeroNeg
()
compareTo(BigInteger a).
public
void
testCompareToZeroPos
()
compareTo(BigInteger a).
public
void
testCompareToZeroZero
()
compareTo(BigInteger a).
public
void
testEqualsBigIntegerFalse
()
equals(Object obj).
public
void
testEqualsBigIntegerTrue
()
equals(Object obj).
public
void
testEqualsNull
()
equals(null).
public
void
testEqualsObject
()
equals(Object obj).
public
void
testMaxEqual
()
max(BigInteger val).
public
void
testMaxGreater
()
max(BigInteger val).
public
void
testMaxLess
()
max(BigInteger val).
public
void
testMaxNegZero
()
max(BigInteger val).
public
void
testMinEqual
()
min(BigInteger val).
public
void
testMinGreater
()
min(BigInteger val).
public
void
testMinLess
()
min(BigInteger val).
public
void
testMinPosZero
()
max(BigInteger val).
public
void
testNegateNegative
()
negate() a negative number.
public
void
testNegatePositive
()
negate() a positive number.
public
void
testNegateZero
()
negate() ZERO.
public
void
testSignumNegative
()
signum() of a negative number.
public
void
testSignumPositive
()
signum() of a positive number.
public
void
testSignumZero
()
signum() of ZERO.
Method Detail
testAbsNegative
public
void testAbsNegative()
(Code)
abs() for a negative number
testAbsPositive
public
void testAbsPositive()
(Code)
abs() for a positive number
testCompareNegNeg2
public
void testCompareNegNeg2()
(Code)
compareTo(BigInteger a). Compare two negative numbers. The first is less in absolute value.
testCompareToDiffSigns1
public
void testCompareToDiffSigns1()
(Code)
compareTo(BigInteger a). Compare two numbers of different signs. The first is positive.
testCompareToDiffSigns2
public
void testCompareToDiffSigns2()
(Code)
compareTo(BigInteger a). Compare two numbers of different signs. The first is negative.
testCompareToEqualNeg
public
void testCompareToEqualNeg()
(Code)
compareTo(BigInteger a). Compare two equal negative numbers.
testCompareToEqualPos
public
void testCompareToEqualPos()
(Code)
compareTo(BigInteger a). Compare two equal positive numbers.
testCompareToNegNeg1
public
void testCompareToNegNeg1()
(Code)
compareTo(BigInteger a). Compare two negative numbers. The first is greater in absolute value.
testCompareToNegZero
public
void testCompareToNegZero()
(Code)
compareTo(BigInteger a). Compare a negative number to ZERO.
testCompareToPosPos1
public
void testCompareToPosPos1()
(Code)
compareTo(BigInteger a). Compare two positive numbers. The first is greater.
testCompareToPosPos2
public
void testCompareToPosPos2()
(Code)
compareTo(BigInteger a). Compare two positive numbers. The first is less.
testCompareToPosZero
public
void testCompareToPosZero()
(Code)
compareTo(BigInteger a). Compare a positive number to ZERO.
testCompareToZeroNeg
public
void testCompareToZeroNeg()
(Code)
compareTo(BigInteger a). Compare ZERO to a negative number.
testCompareToZeroPos
public
void testCompareToZeroPos()
(Code)
compareTo(BigInteger a). Compare ZERO to a positive number.
testCompareToZeroZero
public
void testCompareToZeroZero()
(Code)
compareTo(BigInteger a). Compare ZERO to ZERO.
testEqualsBigIntegerFalse
public
void testEqualsBigIntegerFalse()
(Code)
equals(Object obj). obj is a BigInteger. numbers are not equal.
testEqualsBigIntegerTrue
public
void testEqualsBigIntegerTrue()
(Code)
equals(Object obj). obj is a BigInteger. numbers are equal.
testEqualsNull
public
void testEqualsNull()
(Code)
equals(null).
testEqualsObject
public
void testEqualsObject()
(Code)
equals(Object obj). obj is not a BigInteger
testMaxEqual
public
void testMaxEqual()
(Code)
max(BigInteger val). numbers are equal.
testMaxGreater
public
void testMaxGreater()
(Code)
max(BigInteger val). the first is greater.
testMaxLess
public
void testMaxLess()
(Code)
max(BigInteger val). the first is less.
testMaxNegZero
public
void testMaxNegZero()
(Code)
max(BigInteger val). max of negative and ZERO.
testMinEqual
public
void testMinEqual()
(Code)
min(BigInteger val). numbers are equal.
testMinGreater
public
void testMinGreater()
(Code)
min(BigInteger val). the first is greater.
testMinLess
public
void testMinLess()
(Code)
min(BigInteger val). the first is less.
testMinPosZero
public
void testMinPosZero()
(Code)
max(BigInteger val). min of positive and ZERO.
testNegateNegative
public
void testNegateNegative()
(Code)
negate() a negative number.
testNegatePositive
public
void testNegatePositive()
(Code)
negate() a positive number.
testNegateZero
public
void testNegateZero()
(Code)
negate() ZERO.
testSignumNegative
public
void testSignumNegative()
(Code)
signum() of a negative number.
testSignumPositive
public
void testSignumPositive()
(Code)
signum() of a positive number.
testSignumZero
public
void testSignumZero()
(Code)
signum() of ZERO.
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.