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() |
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator |
getComparator(java.util.Map map,
ReaderTrackerEntry.Sort Sort,
boolean isReverse) |
void |
setAccessCount(int accessCount) |
void |
setFirstAccessDate(java.util.Date firstAccessDate) |
void |
setLastAccessDate(java.util.Date lastAccessDate) |
void |
setMember(Member author) |
public Member member
public java.util.Date firstAccessDate
public java.util.Date lastAccessDate
public int accessCount
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
public void setMember(Member author)
public void setFirstAccessDate(java.util.Date firstAccessDate)
public void setLastAccessDate(java.util.Date lastAccessDate)
public void setAccessCount(int accessCount)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.