Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.591.806 Times

JavaArray 4.7

  Date Added: April 13, 2010  |  Visits: 790

JavaArray

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



JavaArray is a tied extension for Java arrays from Java.pm SYNOPSIS use Java; # Set up Java.pm to always return tied array references to me my $java = new Java(use_tied_arrays => 1); my $tied_array = $java->create_array("java.lang.String",5); OR # Roll my own tied arrays my @tied_array; tie @tied_array, JavaArray, $java->create_array("java.lang.String",5); OR tie @tied_array, JavaArray, $some_object_that_is_an_array; // Set array element 3 to "Java is lame" $tied_array[3] = "Java is lame"; // Get array element 3s value my $element = $tied_array[3]->get_value(); // Get length my $length = scalar(@tied_array); my $size = $#tied_array; // Use as parameter you gotta pass the reference! my $list = $java->java_util_Arrays("asList",@tied_array); // NO OTHER ARRAY OPERATIONS ARE AVAILABLE! // so no pop or push or unshift or shift or splice // Hey even this cant make Java arrays cool! // use the Collections framework! This module puts a pretty thin veneer over Java.pm objects are are Java arrays. Makes em slightly prettier to play with. You can pass as an agrument to the tie any Java object that is an array - either one you created yourself or one that was returned to you by something else. You probably should NOT be using this directly, but specify use_tied_arrays in your constructor args to Java.pm. In parameter lists If you want to use your array in a parameter list youve got to pass in the REFERENCE to your array or things will go haywire... If you specified use_tied_arrays in your Java.pm constructor then you will only receive references back from Java.pm so youve already got the reference. ONLY if you call tie yourself (& I cant really think of why you ever would... BUT) & get the array itself do you need to take its reference when using it in parameter lists. Automatic usage You can tell Java.pm to automatically convert all Java arrays to their tied counterparts by setting use_tied_arrays in your Java constructor. You will get receive a reference to the tied array so you must use the -> notation like: $array->[3] = "Mark rox"; my $ele = $array->[4]; See perldoc Java.pm for more info. You can then use that value directly in parameter lists..

Requirements: No special requirements
Platforms: Linux
Keyword: Array Arrays For Java Java Javaarray Libraries Parameter Programming Reference Tied
Users rating: 0/10

License: Freeware Size: 69.63 KB
USER REVIEWS
More Reviews or Write Review


JAVAARRAY RELATED
Libraries  -  Windows Azure Libraries for Java 0.1.2 December 2011 CTP
The Windows Azure SDK for Java provides client libraries and tools to allow Java developers to quickly and easily create applications that run on Windows Azure or leverage Windows Azure services such as Windows Azure Storage or Service Bus. To be...
 
Libraries  -  Simple Logging Facade for Java 1.1.0 RC0
Simple Logging Facade for Java also know as SLF4J is intended to serve as a simple facade for various logging APIs, allowing to the end-user to plug in the desired implementation at deployment time. Logging API implementations can either choose...
215.04 KB  
Libraries  -  OpenGL for Java 2.8.0.8
OpenGL for Java, formerly known as GL4Java, supports Java with a native OpenGL mapping. The OS native OpenGL functionality is avaiable from Java for many OS: Linux/GNU+XFree86, Unix/X11, MacOS, Win32. Whats New in This Release: - removed the...
194.56 KB  
Libraries  -  UltraGetopt for Java 0.7.1
UltraGetopt for Java is the Java imagening of UltraGetopt. The project provides the features and flexibility of UltraGetopt in a way that is more suited to the Java environment..
54.27 KB  
Libraries  -  Ganymed SSH-2 for Java Build 210
Ganymed SSH2 for Java is a library which implements the SSH-2 protocol in pure Java (tested on J2SE 1.4.2 and 5.0). Ganymed SSH2 for Java allows one to connect to SSH servers from within Java programs. It supports SSH sessions (remote command...
471.04 KB  
Network & Internet  -  Xgrid Agent for Java 2006-03-29
Xgrid Agent for Java is an agent for Apples Xgrid clustering protocol written entirely in Java. This makes multiple platform Xgrid clusters possible. Usage: usage: java -jar xgridagent.jar -r|host name mhz -r will resolve the controller via...
2.2 MB  
Code Management Tools  -  BNF for Java 2007-01-24
BNF for Java project is a parser/generator, or compiler-compiler. The parser reads your input text, or "terminals", specified by your BNF syntax. The parser features indefinate look-ahead and back-track. As the grammar parses your file, it...
 
Audio Tools  -  MikMod for Java 24.04.98
MikMod for Java is a Java port of the MOD player MikMod. It supports MOD, S3M, XM, MTM, and many other MOD formats. The make file "source/Makefile" is intended for GNU make, so if its present you can just type make to build everything. The...
99.33 KB  
Libraries  -  Chilkat Class Libraries for Java 9.2.1
The full suite of Chilkat components & libraries are now available for the Java programming language. Commercially licensed components include: Email (POP3 / SMTP) IMAP Zip, GZip, and Unix Compress Encryption MIME and S/MIME FTP HTTP MHT...
 
Macintosh Software  -  EditLive! for Java 1.5
EditLive! for Java is a cross platform, browser-based WYSIWYG content authoring tool which enables non-technical users to contribute content to web-based enterprise applications. It extends EditLive!'s content authoring capabilities to MAC OS X...
11.44 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB