Tabnine Logo
RList.put
Code IndexAdd Tabnine to your IDE (free)

How to use
put
method
in
org.rosuda.REngine.RList

Best Java code snippets using org.rosuda.REngine.RList.put (Showing top 6 results out of 315)

origin: org.rosuda.REngine/REngine

public void putAll(Map t) {
if (t==null) return;
// NOTE: this if branch is dead since RList cannot inherit from Map
if (t instanceof RList) { // we need some more sophistication for RLists as they may have null-names which we append
  RList l = (RList) t;
  if (names==null) {
  addAll(l);
  return;
  }
  int n = l.size();
  int i = 0;
  while (i < n) {
  String key = l.keyAt(i);
  if (key==null)
    add(l.at(i));
  else
    put(key, l.at(i));
  i++;
  }
} else {
  Set ks = t.keySet();
  Iterator i = ks.iterator();
  while (i.hasNext()) {
  Object key = i.next();
  put(key, t.get(key));
  }
}
}
origin: net.rforge/REngine

public void putAll(Map t) {
if (t==null) return;
// NOTE: this if branch is dead since RList cannot inherit from Map
if (t instanceof RList) { // we need some more sophistication for RLists as they may have null-names which we append
  RList l = (RList) t;
  if (names==null) {
  addAll(l);
  return;
  }
  int n = l.size();
  int i = 0;
  while (i < n) {
  String key = l.keyAt(i);
  if (key==null)
    add(l.at(i));
  else
    put(key, l.at(i));
  i++;
  }
} else {
  Set ks = t.keySet();
  Iterator i = ks.iterator();
  while (i.hasNext()) {
  Object key = i.next();
  put(key, t.get(key));
  }
}
}
origin: net.rforge/REngine

public void putAll(RList t) {
if (t == null) return;
RList l = (RList) t;
if (names==null) {
  addAll(l);
  return;
}
int n = l.size();
int i = 0;
while (i < n) {
  String key = l.keyAt(i);
  if (key == null)
  add(l.at(i));
  else
  put(key, l.at(i));
  i++;
}
}

origin: org.rosuda.REngine/REngine

public void putAll(RList t) {
if (t == null) return;
RList l = (RList) t;
if (names==null) {
  addAll(l);
  return;
}
int n = l.size();
int i = 0;
while (i < n) {
  String key = l.keyAt(i);
  if (key == null)
  add(l.at(i));
  else
  put(key, l.at(i));
  i++;
}
}

origin: org.rosuda.REngine/Rserve

else l.put(name, lc.cont);
origin: net.rforge/Rserve

else l.put(name, lc.cont);
org.rosuda.REngineRListput

Popular methods of RList

    Popular in Java

    • Finding current android device location
    • getSupportFragmentManager (FragmentActivity)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • setContentView (Activity)
    • HttpURLConnection (java.net)
      An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
    • URI (java.net)
      A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
    • KeyStore (java.security)
      KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
    • MessageFormat (java.text)
      Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
    • LinkedList (java.util)
      Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
    • ResourceBundle (java.util)
      ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
    • Top plugins for Android Studio
    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