is.idega.idegaweb.golf.business
Class GenericMemberComparator
java.lang.Object
is.idega.idegaweb.golf.business.GenericMemberComparator
- All Implemented Interfaces:
- java.util.Comparator
public class GenericMemberComparator
- 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
FIRSTLASTMIDDLE
public static final int FIRSTLASTMIDDLE
- See Also:
- Constant Field Values
LASTFIRSTMIDDLE
public static final int LASTFIRSTMIDDLE
- See Also:
- Constant Field Values
FIRSTMIDDLELAST
public static final int FIRSTMIDDLELAST
- See Also:
- Constant Field Values
GenericMemberComparator
public GenericMemberComparator()
GenericMemberComparator
public GenericMemberComparator(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(Member[] members,
int toSortBy)
sort
public java.util.Iterator sort(Member[] members)
sortedArray
public Member[] sortedArray(Member[] members,
int toSortBy)
sortedArray
public java.util.Vector sortedArray(java.util.Vector list)
sortedArray
public Member[] sortedArray(Member[] members)
reverseSortedArray
public Member[] reverseSortedArray(Member[] members,
int toSortBy)
Copyright © 2000-2014 idega software. All Rights Reserved.