|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that defines the basic behaviour of an object that can be used to add redundancy to a bit integer value.
Method Summary | |
boolean |
ok(java.math.BigInteger x)
A method to test if the value x was produced by protect() . |
java.math.BigInteger |
protect(java.math.BigInteger x)
A method to add redundancy to a big integer x . |
java.math.BigInteger |
recover(java.math.BigInteger x)
A method to recover a big integer value from a redundant value x produced by protect() . |
Method Detail |
public java.math.BigInteger protect(java.math.BigInteger x) throws java.lang.Exception
x
.
java.lang.Exception
public java.math.BigInteger recover(java.math.BigInteger x) throws java.lang.Exception
x
produced by protect()
.
java.lang.Exception
- if the value x
was not created by protect()
.public boolean ok(java.math.BigInteger x) throws java.lang.Exception
x
was produced by protect()
.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |