com.jgoodies.jdiskreport.model.statistic
Class TopList

java.lang.Object
  extended by com.jgoodies.jdiskreport.model.statistic.TopList

public final class TopList
extends Object

Describes a list with a limited amount of elements.

Version:
$Revision: 1.10 $
Author:
Karsten Lentzsch

Field Summary
static Comparator<FileNode> LARGEST_COMPARATOR
           
static Comparator<FileNode> NEWEST_COMPARATOR
           
static Comparator<FileNode> OLDEST_COMPARATOR
           
 
Method Summary
 FileNode first()
           
 TableModel getTableModel()
          Lazily creates and returns a table model for this top list.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LARGEST_COMPARATOR

public static final Comparator<FileNode> LARGEST_COMPARATOR

OLDEST_COMPARATOR

public static final Comparator<FileNode> OLDEST_COMPARATOR

NEWEST_COMPARATOR

public static final Comparator<FileNode> NEWEST_COMPARATOR
Method Detail

first

public FileNode first()

getTableModel

public TableModel getTableModel()
Lazily creates and returns a table model for this top list.

Returns:
a TableModel that represents this top list

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.