Class AssetVocabularyGroupLocalizedTitleComparator
Object
com.liferay.portlet.asset.util.comparator.AssetVocabularyGroupLocalizedTitleComparator
- All Implemented Interfaces:
Comparator<com.liferay.asset.kernel.model.AssetVocabulary>
public class AssetVocabularyGroupLocalizedTitleComparator
extends Object
implements Comparator<com.liferay.asset.kernel.model.AssetVocabulary>
- Author:
- Roberto Díaz
-
Constructor Summary
ConstructorsConstructorDescriptionAssetVocabularyGroupLocalizedTitleComparator
(long groupId, Locale locale, boolean ascending) -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary1, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AssetVocabularyGroupLocalizedTitleComparator
-
-
Method Details
-
compare
public int compare(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary1, com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary2) - Specified by:
compare
in interfaceComparator<com.liferay.asset.kernel.model.AssetVocabulary>
-