public class AlphabeticalGroupingSupport extends Object
Note: numerics are grouped together into the group 0-9
Note: the extraction of the name of an object from the object is presently hard coded in this class, and only ContentEntityObjects and Labels are reasonably supported.
extractFirstCharacter(Object)
Constructor and Description |
---|
AlphabeticalGroupingSupport(Collection c) |
Modifier and Type | Method and Description |
---|---|
List |
getContents()
Return all of the content
|
List |
getContents(char c) |
List |
getContents(String s)
Return the content that begins with the specified string.
|
boolean |
hasContent(char c)
Return true if there is content that starts with the specified character
|
boolean |
hasContent(String s)
Return true if there is content that starts with the specified string.
|
public static final String NUMERIC
public AlphabeticalGroupingSupport(Collection c)
public boolean hasContent(char c)
public boolean hasContent(String s)
public List getContents(char c)
public List getContents(String s)
public List getContents()
Copyright © 2003–2020 Atlassian. All rights reserved.