All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.seam.util.SortItem Maven / Gradle / Ivy

There is a newer version: 3.2.26.ayg
Show newest version
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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy