org.jboss.seam.util.SortItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jboss-seam Show documentation
Show all versions of jboss-seam Show documentation
Seam core module for Seam framework integrated with JSF2
package org.jboss.seam.util;
import java.util.ArrayList;
import java.util.List;
public class SortItem {
private T obj;
private List around = new ArrayList();
private List within = new ArrayList();
public SortItem(T obj) {
this.obj = obj;
}
public T getObj() {
return obj;
}
public void addAround(SortItem item) {
if (item != null) {
around.add(item);
}
}
public void addWithin(SortItem item) {
if (item != null) {
within.add(item);
}
}
public List getAround() {
return around;
}
public List getWithin() {
return within;
}
}