Android examples for android.os:Parcel
read Big Decimal from Parcel
//package com.java2s; import android.os.Parcel; import java.math.BigDecimal; public class Main { public static BigDecimal readBigDecimal(Parcel source) { return readValue(source, BigDecimal.class); }//from w w w . j ava 2s .c o m public static <T> T readValue(Parcel source, Class<T> resultType) { return (T) source.readValue(resultType.getClassLoader()); } }