Package | Description |
---|---|
flyweight |
Modifier and Type | Class and Description |
---|---|
(package private) class |
VideoObj |
Modifier and Type | Field and Description |
---|---|
private static java.util.HashMap<java.lang.Integer,Video> |
Data.hashmap |
Modifier and Type | Method and Description |
---|---|
static Video |
Data.getVideo(java.lang.String title,
int year,
java.lang.String director)
Creates and manages flyweight objects.
|
Modifier and Type | Method and Description |
---|---|
int |
Video.compareTo(Video that) |
int |
VideoObj.compareTo(Video that) |