Tabnine Logo
Module.getOptionalModules
Code IndexAdd Tabnine to your IDE (free)

How to use
getOptionalModules
method
in
org.jfree.base.modules.Module

Best Java code snippets using org.jfree.base.modules.Module.getOptionalModules (Showing top 12 results out of 315)

origin: jfree/jcommon

/**
 * Checks, whether a module is a base module of an given module.
 *
 * @param mod the module which to check
 * @param mi the module info of the suspected base module.
 * @return true, if the given module info describes a base module of the
 * given module, false otherwise.
 */
private static boolean isBaseModule(final Module mod, final ModuleInfo mi)
{
 ModuleInfo[] info = mod.getRequiredModules();
 for (int i = 0; i < info.length; i++)
 {
  if (info[i].getModuleClass().equals(mi.getModuleClass()))
  {
   return true;
  }
 }
 info = mod.getOptionalModules();
 for (int i = 0; i < info.length; i++)
 {
  if (info[i].getModuleClass().equals(mi.getModuleClass()))
  {
   return true;
  }
 }
 return false;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Checks, whether a module is a base module of an given module.
 *
 * @param mod the module which to check
 * @param mi the module info of the suspected base module.
 * @return true, if the given module info describes a base module of the
 * given module, false otherwise.
 */
private static boolean isBaseModule(final Module mod, final ModuleInfo mi)
{
 ModuleInfo[] info = mod.getRequiredModules();
 for (int i = 0; i < info.length; i++)
 {
  if (info[i].getModuleClass().equals(mi.getModuleClass()))
  {
   return true;
  }
 }
 info = mod.getOptionalModules();
 for (int i = 0; i < info.length; i++)
 {
  if (info[i].getModuleClass().equals(mi.getModuleClass()))
  {
   return true;
  }
 }
 return false;
}
origin: org.jfree/jcommon

/**
 * Checks, whether a module is a base module of an given module.
 *
 * @param mod the module which to check
 * @param mi the module info of the suspected base module.
 * @return true, if the given module info describes a base module of the
 * given module, false otherwise.
 */
private static boolean isBaseModule(final Module mod, final ModuleInfo mi)
{
 ModuleInfo[] info = mod.getRequiredModules();
 for (int i = 0; i < info.length; i++)
 {
  if (info[i].getModuleClass().equals(mi.getModuleClass()))
  {
   return true;
  }
 }
 info = mod.getOptionalModules();
 for (int i = 0; i < info.length; i++)
 {
  if (info[i].getModuleClass().equals(mi.getModuleClass()))
  {
   return true;
  }
 }
 return false;
}
origin: org.jfree/com.springsource.org.jfree

info = childMod.getOptionalModules();
for (int i = 0; i < info.length; i++)
origin: jfree/jcommon

info = childMod.getOptionalModules();
for (int i = 0; i < info.length; i++)
origin: org.jfree/jcommon

info = childMod.getOptionalModules();
for (int i = 0; i < info.length; i++)
origin: jfree/jcommon

ModuleInfo[] modInfo = module.getOptionalModules();
for (int modPos = 0; modPos < modInfo.length; modPos++)
origin: org.jfree/jcommon

ModuleInfo[] modInfo = module.getOptionalModules();
for (int modPos = 0; modPos < modInfo.length; modPos++)
origin: org.jfree/com.springsource.org.jfree

ModuleInfo[] modInfo = module.getOptionalModules();
for (int modPos = 0; modPos < modInfo.length; modPos++)
origin: jfree/jcommon

final ModuleInfo[] optional = module.getOptionalModules();
for (int i = 0; i < optional.length; i++) {
  if (loadModule(optional[i], incompleteModules, modules, true) == false) {
origin: org.jfree/com.springsource.org.jfree

final ModuleInfo[] optional = module.getOptionalModules();
for (int i = 0; i < optional.length; i++) {
  if (loadModule(optional[i], incompleteModules, modules, true) == false) {
origin: org.jfree/jcommon

final ModuleInfo[] optional = module.getOptionalModules();
for (int i = 0; i < optional.length; i++) {
  if (loadModule(optional[i], incompleteModules, modules, true) == false) {
org.jfree.base.modulesModulegetOptionalModules

Javadoc

Returns an array of optional modules. Missing or invalid modules are non fatal and will not harm the module itself.

Popular methods of Module

  • configure
    Configures the module. This should load the default settings of the module.
  • getDescription
    Returns a short description of the modules functionality.
  • getMajorVersion
  • getMinorVersion
  • getModuleClass
  • getName
    Returns the module name. This name should be a short descriptive handle of the module.
  • getPatchLevel
  • getProducer
    Returns the name of the module producer.
  • getRequiredModules
    Returns an array of all required modules. If one of these modules is missing or cannot be initialize
  • getSubSystem
    Returns the modules subsystem. If this module is not part of an subsystem then return the modules na
  • initialize
    Initializes the module. Use this method to perform all initial setup operations. This method is call
  • initialize

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Join (org.hibernate.mapping)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now