|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.webdocwf.util.smime.util.ByteArrayComparator
ByteArrayComparator is used for finding first appearance of the inner byte array in the outher byte array.
Constructor Summary | |
ByteArrayComparator(byte[] toFind0,
byte[] lookUpArray0)
Construction with the given byte arrays (first is being searched in the second (lookup) byte array) |
Method Summary | |
int |
getMatchingIndex()
Returns the position of the first matching byte in the outher byte array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ByteArrayComparator(byte[] toFind0, byte[] lookUpArray0) throws SMIMEException
toFind0
- byte array which is being searhcedlookUpArray0
- byte array to be searchedSMIMEException
- if toFind0 array is bigger than or equal to
lookUpArray0 array!Method Detail |
public int getMatchingIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |