Tabnine Logo
SType.convert
Code IndexAdd Tabnine to your IDE (free)

How to use
convert
method
in
org.opensingular.form.SType

Best Java code snippets using org.opensingular.form.SType.convert (Showing top 2 results out of 315)

origin: org.opensingular/singular-form-core

@SuppressWarnings("unchecked")
<T> T convert(@Nullable Object value, @Nullable Class<T> resultClass) {
  if (resultClass == null || value == null) {
    return (T) value;
  } else if (resultClass.isInstance(value)) {
    return resultClass.cast(value);
  }
  return getType().convert(value, resultClass);
}
origin: org.opensingular/form-core

<T> T convert(Object value, Class<T> resultClass) {
  if (resultClass == null || value == null) {
    return (T) value;
  } else if (resultClass.isInstance(value)) {
    return resultClass.cast(value);
  }
  return getType().convert(value, resultClass);
}
org.opensingular.formSTypeconvert

Popular methods of SType

  • asAtr
  • getNameSimple
  • getName
  • asAtrProvider
  • getAttributeValue
  • isList
    Verificar se o tipo é um tipo lista ( STypeList).
  • getValidators
  • withView
  • asAtrBootstrap
  • getInstanceClass
  • isComposite
    Verificar se o tipo é um tipo composto ( STypeComposite).
  • getDependentTypes
  • isComposite,
  • getDependentTypes,
  • getDictionary,
  • hasAttributeDefinedInHierarchy,
  • isDependentType,
  • isTypeOf,
  • newInstance,
  • addAttribute,
  • addDependentType,
  • addInstanceValidator

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • From CI to AI: The AI layer in your organization
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