Tabnine Logo
JsArrayMixed.cast
Code IndexAdd Tabnine to your IDE (free)

How to use
cast
method
in
com.google.gwt.core.client.JsArrayMixed

Best Java code snippets using com.google.gwt.core.client.JsArrayMixed.cast (Showing top 11 results out of 315)

origin: com.googlecode.gwtquery/gwtquery

@SuppressWarnings("unchecked")
protected <T> T[] getArrayBase(String n, T[] r, Class<T> clazz) {
 JsObjectArray<?> a = p.getArray(n).cast();
 int l = r.length;
 for (int i = 0; i < l; i++) {
  Object w = a.get(i);
  Class<?> c = w.getClass();
  do {
   if (c.equals(clazz)) {
    r[i] = (T) w;
    break;
   }
   c = c.getSuperclass();
  } while (c != null);
 }
 return r;
}
origin: org.dashbuilder/dashbuilder-lienzo-core

public final MetaDataArray getMetaDataArray(String name)
{
  if (m_jso.typeOf(name) == NativeInternalType.ARRAY)
  {
    MetaDataArrayJSO jso = m_jso.getArray(name).cast();
    return new MetaDataArray(jso);
  }
  return null;
}
origin: com.ahome-it/lienzo-tests

public final DashArray getDashArray()
{
  final JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    final NFastDoubleArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: com.ahome-it/lienzo-core

public final DashArray getDashArray()
{
  final JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    final NFastDoubleArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: org.kie/lienzo-tests

public final DashArray getDashArray()
{
  final JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    final NFastDoubleArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: ahome-it/lienzo-core

public final DashArray getDashArray()
{
  final JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    final NFastDoubleArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: com.rht-emitrom/lienzo-core

public final DashArray getDashArray()
{
  JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    DashArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: org.dashbuilder/dashbuilder-lienzo-core

public final DashArray getDashArray()
{
  JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    NFastDoubleArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: ahome-it/lienzo-core

public final DashArray getDashArray()
{
  final JsArrayMixed dash = getArray(Attribute.DASH_ARRAY.getProperty());
  if (null != dash)
  {
    final NFastDoubleArrayJSO djso = dash.cast();
    return new DashArray(djso);
  }
  return new DashArray();
}
origin: com.googlecode.gwtquery/gwtquery

for (String k : prop.keys()) {
 String ky = k.matches("\\d+") ? k : "\"" + k + "\"";
 JsCache o = prop.getArray(k).cast();
 if (o != null) {
  ret += ky + ":[";
origin: com.googlecode.gwtquery/gwtquery

for (String k : prop.keys()) {
 ret += ret.isEmpty() ? "" : "&";
 JsCache o = prop.getArray(k).cast();
 if (o != null) {
  for (int i = 0, l = o.length(); i < l; i++) {
com.google.gwt.core.clientJsArrayMixedcast

Popular methods of JsArrayMixed

  • join
  • getObject
    Gets the JavaScriptObject at a given index.
  • length
    Gets the length of the array.
  • getNumber
    Gets the double at a given index.
  • push
    Pushes the given boolean onto the end of the array.
  • set
    Sets the boolean value at a given index. If the index is out of bounds, the value will still be set.

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setContentView (Activity)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • BoxLayout (javax.swing)
  • JComboBox (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text plugins
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