| java.lang.Object com.jcorporate.expresso.core.misc.ByteArrayCounter
ByteArrayCounter | public class ByteArrayCounter (Code) | | ByteArrayCounter.java
Copyright 2000, 2001 Jcorporate Ltd.
|
Method Summary | |
public byte[] | getBytes() getBytes: Return a copy of the byte array. | public synchronized void | increment() |
ByteArrayCounter | public ByteArrayCounter(int arraySize)(Code) | | ByteArrayCounter: Initialize a counter that uses an array of bytes
Parameters: arraySize - the number of bytes the counter array is supposedto take eg 4 or 8 |
getBytes | public byte[] getBytes()(Code) | | getBytes: Return a copy of the byte array.
Return a copy of the byte array |
increment | public synchronized void increment()(Code) | | increment: Increment the value stored in the byte array
|
|
|