is.idega.idegaweb.golf.service
Class ReportMemberComparator
java.lang.Object
is.idega.idegaweb.golf.service.ReportMemberComparator
- All Implemented Interfaces:
- java.util.Comparator
public class ReportMemberComparator
- extends java.lang.Object
- implements java.util.Comparator
Title:
Description:
Copyright: Copyright (c) 2001
Company: idega multimedia
- Version:
- 1.0
- Author:
- aron@idega.is
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final int NAME
- See Also:
- Constant Field Values
SOCIAL
public static final int SOCIAL
- See Also:
- Constant Field Values
ADDRESS
public static final int ADDRESS
- See Also:
- Constant Field Values
EMAIL
public static final int EMAIL
- See Also:
- Constant Field Values
HANDICAP
public static final int HANDICAP
- See Also:
- Constant Field Values
BALANCE
public static final int BALANCE
- See Also:
- Constant Field Values
PHONE
public static final int PHONE
- See Also:
- Constant Field Values
LOCKER
public static final int LOCKER
- See Also:
- Constant Field Values
STATUS
public static final int STATUS
- See Also:
- Constant Field Values
ReportMemberComparator
public ReportMemberComparator()
ReportMemberComparator
public ReportMemberComparator(int toSortBy)
sortBy
public void sortBy(int toSortBy)
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare
in interface java.util.Comparator
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface java.util.Comparator
- Overrides:
equals
in class java.lang.Object
sort
public java.util.Iterator sort(ReportMember[] members,
int toSortBy)
sort
public java.util.Iterator sort(ReportMember[] members)
sortedArray
public ReportMember[] sortedArray(ReportMember[] members,
int toSortBy)
sortedArray
public java.util.Vector sortedArray(java.util.Vector list)
sortedArray
public ReportMember[] sortedArray(ReportMember[] members)
reverseSortedArray
public ReportMember[] reverseSortedArray(ReportMember[] members,
int toSortBy)
Copyright © 2000-2014 idega software. All Rights Reserved.