This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
148 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
package numa; | ||
// package numa; | ||
|
||
public class Validated { | ||
String validated; | ||
String errMsg; | ||
boolean valid; | ||
// public class Validated { | ||
// String validated; | ||
// String errMsg; | ||
// boolean valid; | ||
|
||
public Validated(String validated, String errMsg, boolean valid) { | ||
this.validated = validated; | ||
this.errMsg = errMsg; | ||
this.valid = valid; | ||
} | ||
} | ||
// public Validated(String validated, String errMsg, boolean valid) { | ||
// this.validated = validated; | ||
// this.errMsg = errMsg; | ||
// this.valid = valid; | ||
// } | ||
// } | ||
|
||
interface Validate { | ||
/** | ||
* Validation function format | ||
* Returns true on proper validation and false otherwise | ||
* public boolean validateX(); | ||
*/ | ||
public Validated validate(String input); | ||
} | ||
// interface Validate { | ||
// /** | ||
// * Validation function format | ||
// * Returns true on proper validation and false otherwise | ||
// * public boolean validateX(); | ||
// */ | ||
// public Validated validate(String input); | ||
// } |