com.jalios.jcms.workspace
Class Workspace.GroupSizeComparator<T extends Workspace>
java.lang.Object
com.jalios.jstore.BasicStorable.CdateComparator<T>
com.jalios.jcms.comparator.BasicComparator<T>
com.jalios.jcms.workspace.Workspace.NameComparator<T>
com.jalios.jcms.workspace.Workspace.GroupSizeComparator<T>
- Type Parameters:
T
- workspace type
- All Implemented Interfaces:
- Comparator<T>
- Enclosing class:
- Workspace
public static class Workspace.GroupSizeComparator<T extends Workspace>
- extends Workspace.NameComparator<T>
- Since:
- jcms-5.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Workspace.GroupSizeComparator
public Workspace.GroupSizeComparator()
- Create anew Group comparator using current language
- Since:
- jcms-7.1.0
Workspace.GroupSizeComparator
public Workspace.GroupSizeComparator(String lang)
- Parameters:
lang
- the language to use when comparing workspaces' name if
number of groups in workspaces is the same- Since:
- jcms-5.6.1
compare
public int compare(T ws1,
T ws2)
- Specified by:
compare
in interface Comparator<T extends Workspace>
- Overrides:
compare
in class Workspace.NameComparator<T extends Workspace>
Copyright © 2001-2010 Jalios SA. All Rights Reserved.