Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.widget.EditText;

public class Main {
    public static boolean isValidPass(EditText paramEditText) {
        if (paramEditText == null) {
            throw new NullPointerException("EditText can't null");
        }
        return isValidPass(paramEditText.getText().toString());
    }

    public static boolean isValidPass(String paramString) {
        if (paramString == null) {
        }
        int i = paramString.length();
        if ((i < 6) || (i > 16)) {
            return false;
        }
        ;
        return true;
    }
}