-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alok Shukla
committed
Nov 21, 2013
1 parent
dec7f98
commit 29dfaf9
Showing
9 changed files
with
540 additions
and
490 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
src/main/java/org/bigNumber/common/interfaces/NonStaticMethods.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.bigNumber.common.interfaces; | ||
|
||
import org.bigNumber.models.BigNumber; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* @author aloks | ||
* Date: 21/11/13 | ||
* Time: 6:06 PM | ||
* @since 2.0.0 | ||
*/ | ||
public interface NonStaticMethods extends Comparable<BigNumber>, Serializable { | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/org/bigNumber/common/interfaces/StaticMethods.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.bigNumber.common.interfaces; | ||
|
||
/** | ||
* @author aloks | ||
* Date: 21/11/13 | ||
* Time: 6:05 PM | ||
* @since 2.0.0 | ||
*/ | ||
public interface StaticMethods { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/org/bigNumber/common/services/BigNumberUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.bigNumber.common.services; | ||
|
||
import org.bigNumber.common.interfaces.StaticMethods; | ||
|
||
/** | ||
* @author aloks | ||
* Date: 21/11/13 | ||
* Time: 3:35 PM | ||
* @since 2.0.0 | ||
*/ | ||
public final class BigNumberUtils implements StaticMethods { | ||
// TODO Keep two interfaces StaticMethods and NonStaticMethods | ||
// TODO #33 : BigNumberUtil will implement StaticMethods while BigNumberParent will implement NonStaticMethods which extends Serializable and Comparable<BigNumber> | ||
// TODO Make necessary changes in Tests | ||
|
||
// Singleton | ||
private BigNumberUtils(){} | ||
|
||
} |
Oops, something went wrong.