Java 类org.apache.commons.collections4.set.ListOrderedSet 实例源码

项目:sdcct    文件:SdcctPropertiesUtils.java   
public ListOrderedSet<Object> getOrderedKeys() {
    return this.orderedKeys;
}
项目:pm-wicket-utils    文件:AjaxListSetView.java   
@SuppressWarnings("unchecked")
private ListOrderedSet<T> getList(){
    return (ListOrderedSet<T>) getDefaultModelObject();
}
项目:HCFCore    文件:SetUtils.java   
/**
 * Returns a set that maintains the order of elements that are added
 * backed by the given set.
 * <p>
 * If an element is added twice, the order is determined by the first add.
 * The order is observed through the iterator or toArray.
 *
 * @param <E> the element type
 * @param set  the set to order, must not be null
 * @return an ordered set backed by the given set
 * @throws NullPointerException if the set is null
 */
public static <E> Set<E> orderedSet(final Set<E> set) {
    return ListOrderedSet.listOrderedSet(set);
}
项目:HCFCore    文件:SetUtils.java   
/**
 * Returns a set that maintains the order of elements that are added
 * backed by the given set.
 * <p>
 * If an element is added twice, the order is determined by the first add.
 * The order is observed through the iterator or toArray.
 *
 * @param <E> the element type
 * @param set  the set to order, must not be null
 * @return an ordered set backed by the given set
 * @throws NullPointerException if the set is null
 */
public static <E> Set<E> orderedSet(final Set<E> set) {
    return ListOrderedSet.listOrderedSet(set);
}