Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static String logicalOpXSLTRepresentation(String logicalop) {
        if (logicalop != null) {
            if (logicalop.equalsIgnoreCase("AND")) {
                return "and";
            } else if (logicalop.equalsIgnoreCase("OR")) {
                return "or";
            }
        }

        return "and";
    }
}