// Path: leotask/src/core/org/leores/util/U.java
// public class U extends SerialUtil {
// 
// }


import java.math.BigDecimal;
import java.util.List;
import org.leores.util.U;

package org.leores.util.able;



public interface Processable1<R, A> {
	public R process(A a);

	public static class MaxListOutSize<A> implements Processable1<String, A> {
		protected Integer mSize;// null means do no limit list out size

		public MaxListOutSize(Integer mSize) {
			this.mSize = mSize;
		}

		public String process(A a) {
			String rtn = null;
			if (a != null && U.bAssignable(List.class, a.getClass())) {
				List lObj = (List) a;
				if (mSize != null && mSize >= 0 && mSize < lObj.size()) {
					List lOut = lObj.subList(0, mSize);
					rtn = lOut + "...";
				} else {

// Path: leotask/src/core/org/leores/util/U.java
// public class U extends SerialUtil {
// 
// }


// Path: leotask/src/core/org/leores/util/able/Processable1.java
import java.math.BigDecimal;
import java.util.List;
import org.leores.util.U;

package org.leores.util.able;



public interface Processable1<R, A> {
	public R process(A a);

	public static class MaxListOutSize<A> implements Processable1<String, A> {
		protected Integer mSize;// null means do no limit list out size

		public MaxListOutSize(Integer mSize) {
			this.mSize = mSize;
		}

		public String process(A a) {
			String rtn = null;
			if (a != null && U.bAssignable(List.class, a.getClass())) {
				List lObj = (List) a;
				if (mSize != null && mSize >= 0 && mSize < lObj.size()) {
					List lOut = lObj.subList(0, mSize);
					rtn = lOut + "...";
				} else {

					rtn = lObj + "";
