SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.license
Class Package

java.lang.Object
  extended by com.numericalmethod.suanshu.license.Package

public class Package
extends java.lang.Object

The packages available in this library. To check if a particular package is valid under the license, call the method validate(). For example,


 boolean isValid = Package.BASIC.validate();
 


Field Summary
 java.lang.String name
           
 
Method Summary
static Package getInstance(java.lang.String packageName)
           
 boolean validate()
          Check if this package is valid under the license.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final java.lang.String name
Method Detail

getInstance

public static Package getInstance(java.lang.String packageName)

validate

public boolean validate()
Check if this package is valid under the license.

Returns:
true if the package is valid under the current license

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.