|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.ambient.collection.Statistics
public final class Statistics
Statistics class.
| Field Summary | |
|---|---|
int |
albums
Albums count. |
int |
artists
Artists count. |
long |
fileSize
Overall file size. |
int |
length
Overall length in seconds. |
int |
tracks
Number of tracks. |
| Constructor Summary | |
|---|---|
Statistics()
|
|
| Method Summary | |
|---|---|
void |
add(Statistics other)
Merge this object with another statistics object. |
void |
copyFrom(Statistics other)
Copies statistics from another statistics object. |
int |
getAverageLength()
Computes average track length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int tracks
public int length
public long fileSize
public int albums
public int artists
| Constructor Detail |
|---|
public Statistics()
| Method Detail |
|---|
public void add(Statistics other)
other - the other statistics.public void copyFrom(Statistics other)
other - the other statistics.public int getAverageLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||