Examples of toUpperCase()


Examples of it.unimi.dsi.lang.MutableString.toUpperCase()

                    return true;
                }

                final MutableString metaCharset = attributes.get(Attribute.CHARSET);
                if  (metaCharset != null) {
                    charset[0] = getCharset(metaCharset.toUpperCase().toString());
                    return true;
//                    return charset[0] == null;
                }
            }
View Full Code Here

Examples of org.apache.uima.cas.FeatureStructure.toUpperCase()

          // nothing to do
        }
        else if (featureValue1 != null || featureValue2 != null) {
          // the unrelated values are put in uppercase
          String f1 =  featureValue1 == null ? "null" : featureValue1.toUpperCase();
          String f2 =  featureValue2 == null ? "null" : featureValue2.toUpperCase();
          a1.setFeatureValueFromString(eachFeature1, f1);
          a2.setFeatureValueFromString(eachFeature2, f2);
          return false;
        }
        else if (featureValue2.trim().toLowerCase().contains(featureValue1.trim().toLowerCase())) {
View Full Code Here

Examples of org.apache.uima.cas.FeatureStructure.toUpperCase()

          // the unrelated values are put in uppercase

          a1.setFeatureValueFromString(eachFeature1, featureValue1.toUpperCase());

          a2.setFeatureValueFromString(eachFeature2, featureValue2.toUpperCase());

          return false;

        }
View Full Code Here

Examples of org.eclipse.persistence.internal.helper.DatabaseField.toUpperCase()

            }
            DatabaseField column = new DatabaseField(columnName);

            // Force field names to upper case is set.
            if (getPlatform().shouldForceFieldNamesToUpperCase()) {
                column.toUpperCase();
            }
            columnNames.addElement(column);
        }
        return columnNames;
    }
View Full Code Here

Examples of org.resmedicinae.resmedlib.term.String.toUpperCase()

            HealthRecord importedHealthRecord;
            String curFile;
            File[] fileList = chooser.getSelectedFile().listFiles();
            for (int i = 0; i < fileList.length; i++) {
                curFile = fileList[i].getAbsolutePath();
                if (curFile.toUpperCase().endsWith(".XML")) {
                    importedHealthRecord = getHealthRecordDataFromDocument(parseXMLFile(curFile));
                    try {
                        importedHealthRecord.setIdentifier(ObjectID.getNewOId());
                    } catch (Exception e) {
                        throw new Exception(e);
View Full Code Here

Examples of org.springframework.roo.classpath.details.annotations.AnnotationMetadata.toUpperCase()

        }

        if (expression instanceof LongLiteralExpr) {
            String value = ((LongLiteralExpr) expression).getValue();
            Validate.isTrue(
                    value.toUpperCase().endsWith("L"),
                    "Expected long literal expression '%s' to end in 'l' or 'L'",
                    value);
            value = value.substring(0, value.length() - 1);
            final long l = new Long(value);
            return new LongAttributeValue(annotationName, l);
View Full Code Here

Examples of org.springframework.roo.classpath.details.annotations.AnnotationMetadata.toUpperCase()

        }

        if (expression instanceof DoubleLiteralExpr) {
            String value = ((DoubleLiteralExpr) expression).getValue();
            boolean floatingPrecisionOnly = false;
            if (value.toUpperCase().endsWith("F")) {
                value = value.substring(0, value.length() - 1);
                floatingPrecisionOnly = true;
            }
            if (value.toUpperCase().endsWith("D")) {
                value = value.substring(0, value.length() - 1);
View Full Code Here

Examples of org.springframework.roo.classpath.details.annotations.AnnotationMetadata.toUpperCase()

            boolean floatingPrecisionOnly = false;
            if (value.toUpperCase().endsWith("F")) {
                value = value.substring(0, value.length() - 1);
                floatingPrecisionOnly = true;
            }
            if (value.toUpperCase().endsWith("D")) {
                value = value.substring(0, value.length() - 1);
            }
            final double d = new Double(value);
            return new DoubleAttributeValue(annotationName, d,
                    floatingPrecisionOnly);
View Full Code Here

Examples of org.springframework.roo.classpath.details.annotations.AnnotationMetadata.toUpperCase()

        if (expression instanceof UnaryExpr) {
            final UnaryExpr castExp = (UnaryExpr) expression;
            if (castExp.getOperator() == Operator.negative) {
                String value = castExp.toString();
                value = value.toUpperCase().endsWith("L") ? value.substring(0,
                        value.length() - 1) : value;
                final long l = new Long(value);
                return new LongAttributeValue(annotationName, l);
            }
            else {
View Full Code Here

Examples of org.springframework.roo.classpath.details.annotations.AnnotationMetadata.toUpperCase()

            return new CharAttributeValue(annotationName, c);
        }

        if (expression instanceof LongLiteralExpr) {
            String value = ((LongLiteralExpr) expression).getValue();
            Validate.isTrue(value.toUpperCase().endsWith("L"),
                    "Expected long literal expression '" + value
                            + "' to end in 'l' or 'L'");
            value = value.substring(0, value.length() - 1);
            final long l = new Long(value);
            return new LongAttributeValue(annotationName, l);
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.