Sha256: 1ab1b7c7416cc9fde11beff85ae2f8c764bd7b9271700aa9901265cedd0a2427
Contents?: true
Size: 1.95 KB
Versions: 3
Compression:
Stored size: 1.95 KB
Contents
# -*- coding: utf-8 -*- ########################################################################################## # @author Rodrigo Botafogo # # Copyright © 2013 Rodrigo Botafogo. All Rights Reserved. Permission to use, copy, modify, # and distribute this software and its documentation, without fee and without a signed # licensing agreement, is hereby granted, provided that the above copyright notice, this # paragraph and the following two paragraphs appear in all copies, modifications, and # distributions. # # IN NO EVENT SHALL RODRIGO BOTAFOGO BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, # INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF # THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF RODRIGO BOTAFOGO HAS BEEN ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # # RODRIGO BOTAFOGO SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE # SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS". # RODRIGO BOTAFOGO HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, # OR MODIFICATIONS. ########################################################################################## require 'java' class Renjin class Sequence < Renjin::RubySexp include Renjin::Index end end =begin #========================================================================================== # #========================================================================================== class Renjin class IntSequence < Renjin::Sequence include_package "org.renjin.primitives.sequence" #---------------------------------------------------------------------------------------- # #---------------------------------------------------------------------------------------- def getElement(index) @sexp.getElementAsInt(index) end end end =end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scicom-0.2.2-java | lib/JRubyR/sequence.rb |
scicom-0.2.1-java | lib/JRubyR/sequence.rb |
scicom-0.2.0-java | lib/JRubyR/sequence.rb |