public class ReaderTrackerEntry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ReaderTrackerEntry.AccessCountComparator
Sorts
ReaderTrackerEntry by access count |
static class |
ReaderTrackerEntry.FirstAccessDateComparator
Sorts
ReaderTrackerEntry by first access date Date |
static class |
ReaderTrackerEntry.LastAccessDateComparator
Sorts
ReaderTrackerEntry by last access date Date |
static class |
ReaderTrackerEntry.Sort |
Modifier and Type | Field and Description |
---|---|
int |
accessCount |
java.util.Date |
firstAccessDate |
java.util.Date |
lastAccessDate |
Member |
member |
Constructor and Description |
---|
ReaderTrackerEntry(Member member,
java.util.Date firstAccessDate,
java.util.Date lastAccessDate,
int accessCount) |
ReaderTrackerEntry(ReaderTracker readerTracker)
Builds a
ReaderTrackerEntry from a ReaderTracker |
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator |
getComparator(java.util.Map map,
ReaderTrackerEntry.Sort Sort,
boolean isReverse) |
public Member member
public java.util.Date firstAccessDate
public java.util.Date lastAccessDate
public int accessCount
public ReaderTrackerEntry(Member member, java.util.Date firstAccessDate, java.util.Date lastAccessDate, int accessCount)
member
- the Member
firstAccessDate
- the Date
of first accesslastAccessDate
- the Date
of last accessaccessCount
- the count of accesspublic ReaderTrackerEntry(ReaderTracker readerTracker)
ReaderTrackerEntry
from a ReaderTracker
readerTracker
- the ReaderTracker
public static java.util.Comparator getComparator(java.util.Map map, ReaderTrackerEntry.Sort Sort, boolean isReverse)
map
- the Map
of ReaderTrackerEntry
Sort
- the ReaderTrackerEntry.Sort
EnumisReverse
- true to reverse resultsReaderTrackerEntry
Copyright © 2001-2010 Jalios SA. All Rights Reserved.