net.sourceforge.pavlov.randommedia
Class FileNameComparator
java.lang.Object
net.sourceforge.pavlov.randommedia.FileNameComparator
- All Implemented Interfaces:
- Comparator
public class FileNameComparator
- extends Object
- implements Comparator
A filesystem directory full of media items.
FileNameComparator
public FileNameComparator()
compare
public int compare(Object o1,
Object o2)
- Describe
compare
method here.
- Specified by:
compare
in interface Comparator
- Parameters:
o1
- an Object
valueo2
- an Object
value
- Returns:
- an
int
value
equals
public boolean equals(Object obj)
- Describe
equals
method here.
- Specified by:
equals
in interface Comparator
- Overrides:
equals
in class Object
- Parameters:
obj
- an Object
value
- Returns:
- a
boolean
value