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


import java.io.File;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
import org.leores.util.U;

		public List<Double> discountHistory;
		protected static Integer nBook = 0;
		protected Book book;

		public Book() {
		}

		public Book(int id2, String name, double fullPrice, Double discount) {
			id = nBook;
			this.id2 = id2;
			this.name = name;
			this.fullPrice = fullPrice;
			this.discount = discount;
			nBook++;
		}

		public double getPrice() {
			return fullPrice * discount;
		}

		public void setPrice(Double price) {//here it has to be ``Double''. ``double'' does not work.
			discount = price / fullPrice;
			return;
		}

		public void setPrice(String sPrice) {
			setPrice(new Double(sPrice));
		}

		public String info() {

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


// Path: leotask/src/app/org/leores/demo/ObjUtilDemo.java
import java.io.File;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
import org.leores.util.U;

		public List<Double> discountHistory;
		protected static Integer nBook = 0;
		protected Book book;

		public Book() {
		}

		public Book(int id2, String name, double fullPrice, Double discount) {
			id = nBook;
			this.id2 = id2;
			this.name = name;
			this.fullPrice = fullPrice;
			this.discount = discount;
			nBook++;
		}

		public double getPrice() {
			return fullPrice * discount;
		}

		public void setPrice(Double price) {//here it has to be ``Double''. ``double'' does not work.
			discount = price / fullPrice;
			return;
		}

		public void setPrice(String sPrice) {
			setPrice(new Double(sPrice));
		}

		public String info() {

			return U.toStr(this) + U.toStr(book);
