Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * Returns true if the specified attribute has no string.
     * 
     * @param nodes
     * @return
     * @throws AnalysisEngineProcessException
     */
    public static boolean hasNoAttribute(String attr) {
        if (attr == null || attr.isEmpty()) {
            return true;
        }

        return false;
    }
}