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

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

Serving Software Downloads in 976 Categories, Downloaded 29.545.816 Times

JavaArray 4.7

  Date Added: April 13, 2010  |  Visits: 578

JavaArray

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 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
Code Management Tools  -  Java for C++ 0.4
Java for C++ is a tool to generate C++-wrapper-classes for existing Java-classes. This tool reads a list of Java class names and creates source code for C++-classes to wrap them. The implementation of the wrapper classes uses JNI (Java Native...
44.03 KB  
Business  -  Navicoder Lite IDE for Java (Java editor for windows) 2.0
NaviCoder is a Java IDE that runs on Windows which enables programmers to create, navigate, modify, and debug code faster and more accurately. NaviCoder can be used in conjunction with different Java Developer Kits by configurating JDK profiles....
10.5 MB  
E-Mail Tools  -  Evolution Jescs 2.9.1
Evolution Jescs is the Evolution Connector for Sun Java Enterprise System Calendar Server (SJESCS). This connector supports the WCAP (Web Calendar Access Protocol) 2.0, 3.0, 3.1. How to setup a JESCS account? Now it is integrated into "Mail...
696.32 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...
 
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  -  libvte-java 0.12.3
Java-GNOME is a set of Java bindings for GNOME and GTK libraries, so GNOME applications can be written in Java. libvte-java is implemented as a JNI layer that delegates the Java calls out to the underlying C library. Installation: The...
337.92 KB  
Libraries  -  cairo-java 1.0.8
Java-GNOME is a set of Java bindings for GNOME and GTK libraries, so GNOME applications can be written in Java. cairo-java is implemented as a JNI layer that delegates the Java calls out to the underlying C library. Installation: The...
358.4 KB  
Libraries  -  libgconf-java 2.12.6
Java-GNOME is a set of Java bindings for GNOME and GTK libraries, so GNOME applications can be written in Java. Java-GNOME is implemented as a JNI layer that delegates the Java calls out to the underlying C library. Installation: The...
337.92 KB  
Libraries  -  libglade-java 2.12.8
Java-GNOME is a set of Java bindings for GNOME and GTK libraries, so GNOME applications can be written in Java. Java-GNOME is implemented as a JNI layer that delegates the Java calls out to the underlying C library. Installation: The...
358.4 KB  
Libraries  -  libgnome-java 2.12.7
Java-GNOME is a set of Java bindings for GNOME and GTK libraries, so GNOME applications can be written in Java. Java-GNOME is implemented as a JNI layer that delegates the Java calls out to the underlying C library. Installation: The...
481.28 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB