Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {

    public static boolean isdouhao(String name) {
        int aa = name.indexOf("|");
        if (aa >= 0) {
            return false;
        } else {
            return true;
        }
    }
}