| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ICount | |
|---|---|
| jut.io | utilities related to the java.io package, taken from the java utility classes collection "jut". | 
| jut.ref | utilities related to call by reference issues, taken from the java utility classes collection "jut". | 
| Uses of ICount in jut.io | 
|---|
| Fields in jut.io declared as ICount | |
|---|---|
protected  ICount | 
InputCountStream.counter
counter for the bytes read from this InputStream. | 
| Methods in jut.io that return ICount | |
|---|---|
 ICount | 
InputCountStream.getCounter()
returns the counter for this InputCountStream. | 
| Constructors in jut.io with parameters of type ICount | |
|---|---|
InputCountStream(File file,
                 ICount counter)
create a new InputStream counting the bytes passing through. for creating the stream,
 the Streams.input(File) method is used. | 
|
InputCountStream(ICount counter)
create a new InputStream counting the bytes passing through. the constructor's caller
 is responsible for filling in the InputCountStream.baseStream field. | 
|
InputCountStream(InputStream input,
                 ICount counter)
create a new FilterInputStream counting the bytes passing through. | 
|
| Uses of ICount in jut.ref | 
|---|
| Classes in jut.ref that implement ICount | |
|---|---|
 class | 
Counter
wrapper for a long value that is to be accessed and modified out of more than one context.  | 
 class | 
SimpleCounter
wrapper for a long value that is to be accessed and modified out of more than one context.  | 
| Fields in jut.ref declared as ICount | |
|---|---|
static ICount | 
ICount.DUMMY
dummy implementation always returning 0 as count.  | 
| Methods in jut.ref that return ICount | |
|---|---|
 ICount | 
ICount.add(long val)
add a value to the counter.  | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||