Examples of CPDouble


Examples of org.apache.harmony.pack200.bytecode.CPDouble

        for (int i1 = 0; i1 < count; i1++) {
            int index = indices[i1];
            if (index < 0 || index >= reference.length)
                throw new Pack200Exception(
                        "Something has gone wrong during parsing references, index = " + index + ", array size = " + reference.length);
            result[i1] = new CPDouble(new Double(reference[index]));
        }
        return result;
    }
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPDouble

        } else if (cp == CP_FLOAT) {
            return new CPFloat(new Float(bands.getCpFloat()[index]));
        } else if (cp == CP_LONG) {
            return new CPLong(new Long(bands.getCpLong()[index]));
        } else if (cp == CP_DOUBLE) {
            return new CPDouble(new Double(bands.getCpDouble()[index]));
        } else if (cp == CP_STRING) {
            return new CPString(bands.getCpString()[index]);
        } else if (cp == CP_CLASS) {
            return new CPClass(bands.getCpClass()[index]);
        } else if (cp == SIGNATURE) {
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPDouble

    CPLong cp2 = new CPLong(new Long(3));
    CPLong cp3 = new CPLong(new Long(5));
    checkEquality(cp1,cp2,"3",cp3); //$NON-NLS-1$
  }
  public void testCPDouble() {
    CPDouble cp1 = new CPDouble(new Double(3));
    CPDouble cp2 = new CPDouble(new Double(3));
    CPDouble cp3 = new CPDouble(new Double(5));
    checkEquality(cp1,cp2,"3",cp3); //$NON-NLS-1$
  }
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPDouble

        } else if (cp == CP_FLOAT) {
            return new CPFloat(new Float(bands.getCpFloat()[index]));
        } else if (cp == CP_LONG) {
            return new CPLong(new Long(bands.getCpLong()[index]));
        } else if (cp == CP_DOUBLE) {
            return new CPDouble(new Double(bands.getCpDouble()[index]));
        } else if (cp == CP_STRING) {
            return new CPString(bands.getCpString()[index]);
        } else if (cp == CP_CLASS) {
            return new CPClass(bands.getCpClass()[index]);
        } else if (cp == SIGNATURE) {
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPDouble

        for (int i1 = 0; i1 < count; i1++) {
            int index = indices[i1];
            if (index < 0 || index >= reference.length)
                throw new Pack200Exception(
                        "Something has gone wrong during parsing references, index = " + index + ", array size = " + reference.length);
            result[i1] = new CPDouble(new Double(reference[index]));
        }
        return result;
    }
View Full Code Here

Examples of org.apache.harmony.pack200.bytecode.CPDouble

    CPLong cp2 = new CPLong(new Long(3));
    CPLong cp3 = new CPLong(new Long(5));
    checkEquality(cp1,cp2,"3",cp3); //$NON-NLS-1$
  }
  public void testCPDouble() {
    CPDouble cp1 = new CPDouble(new Double(3));
    CPDouble cp2 = new CPDouble(new Double(3));
    CPDouble cp3 = new CPDouble(new Double(5));
    checkEquality(cp1,cp2,"3",cp3); //$NON-NLS-1$
  }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPDouble

        CPLong cp3 = new CPLong(new Long(5), 5);
        checkEquality(cp1, cp2, "3", cp3); //$NON-NLS-1$
    }

    public void testCPDouble() {
        CPDouble cp1 = new CPDouble(new Double(3), 3);
        CPDouble cp2 = new CPDouble(new Double(3), 3);
        CPDouble cp3 = new CPDouble(new Double(5), 5);
        checkEquality(cp1, cp2, "3", cp3); //$NON-NLS-1$
    }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPDouble

        public CPLong cpLongValue(int index) {
            return new CPLong(new Long(21L), index);
        }

        public CPDouble cpDoubleValue(int index) {
            return new CPDouble(new Double(2.5D), index);
        }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPDouble

        public CPLong cpLongValue(int index) {
            return new CPLong(new Long(21L), index);
        }

        public CPDouble cpDoubleValue(int index) {
            return new CPDouble(new Double(2.5D), index);
        }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.CPDouble

        CPLong cp3 = new CPLong(new Long(5), 5);
        checkEquality(cp1, cp2, "3", cp3); //$NON-NLS-1$
    }

    public void testCPDouble() {
        CPDouble cp1 = new CPDouble(new Double(3), 3);
        CPDouble cp2 = new CPDouble(new Double(3), 3);
        CPDouble cp3 = new CPDouble(new Double(5), 5);
        checkEquality(cp1, cp2, "3", cp3); //$NON-NLS-1$
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.