61 resultados para Java Native Interface


Relevância:

30.00% 30.00%

Publicador:

Resumo:

With the advent of object-oriented languages and the portability of Java, the development and use of class libraries has become widespread. Effective class reuse depends on class reliability which in turn depends on thorough testing. This paper describes a class testing approach based on modeling each test case with a tuple and then generating large numbers of tuples to thoroughly cover an input space with many interesting combinations of values. The testing approach is supported by the Roast framework for the testing of Java classes. Roast provides automated tuple generation based on boundary values, unit operations that support driver standardization, and test case templates used for code generation. Roast produces thorough, compact test drivers with low development and maintenance cost. The framework and tool support are illustrated on a number of non-trivial classes, including a graphical user interface policy manager. Quantitative results are presented to substantiate the practicality and effectiveness of the approach. Copyright (C) 2002 John Wiley Sons, Ltd.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

While object-oriented programming offers great solutions for today's software developers, this success has created difficult problems in class documentation and testing. In Java, two tools provide assistance: Javadoc allows class interface documentation to be embedded as code comments and JUnit supports unit testing by providing assert constructs and a test framework. This paper describes JUnitDoc, an integration of Javadoc and JUnit, which provides better support for class documentation and testing. With JUnitDoc, test cases are embedded in Javadoc comments and used as both examples for documentation and test cases for quality assurance. JUnitDoc extracts the test cases for use in HTML files serving as class documentation and in JUnit drivers for class testing. To address the difficult problem of testing inheritance hierarchies, JUnitDoc provides a novel solution in the form of a parallel test hierarchy. A small controlled experiment compares the readability of JUnitDoc documentation to formal documentation written in Object-Z. Copyright (c) 2005 John Wiley & Sons, Ltd.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

This report describes recent updates to the custom-built data-acquisition hardware operated by the Center for Hypersonics. In 2006, an ISA-to-USB bridging card was developed as part of Luke Hillyard's final-year thesis. This card allows the hardware to be connected to any recent personal computers via a (USB or RS232) serial port and it provides a number of simple text-based commands for control of the hardware. A graphical user interface program was also updated to help the experimenter manage the data acquisition functions. Sampled data is stored in text files that have been compressed with the gzip for mat. To simplify the later archiving or transport of the data, all files specific to a shot are stored in a single directory. This includes a text file for the run description, the signal configuration file and the individual sampled-data files, one for each signal that was recorded.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

The Indo-West Pacific is characterized by extraordinary marine species diversity. The evolutionary mechanisms responsible for generating this diversity remain puzzling, but are often linked to Pleistocene sea level fluctuations. The impact of these sea level changes on the population genetic architecture of the estuarine fish Lates calcarifer are investigated via a natural experiment in a region of the Indo-West Pacific known to have undergone considerable change during the Pleistocene. L. calcarifer, a coastline-restricted catadromous teleost, provides an excellent model for studying the effects of sea level change as its habitat requirements potentially make it sensitive to the region's physical history. Evidence was found for a large phylogenetic break (4% mtDNA control region; 0.47% ATPase 6 and 8) either side of the Torres Strait, which separates the Western Pacific and Indian Oceans, although some mixing of the clades was evident. This suggests clinal secondary introgression of the clades via contemporary gene flow. Further, populations on Australia's east coast appear to have passed through a bottleneck. This was linked to the historical drying of the Great Barrier Reef coastal lagoon, which resulted in a significant loss of habitat and forced retreat into isolated refugia. These results suggest that historical eustatic changes have left a significant imprint on the molecular diversity within marine species as well as among them in the Indo-West Pacific.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

X-Ray diffraction is reported from mesoporous silicate films grown at the air/water interface. The films were studied both as powdered films, and oriented on silicon or mica sheets. At early stages of growth we observe Bragg diffraction from a highly ordered cubic phase, with both long and short d-spacing peaks. We have assigned this as a discontinuous micellar Pm3n phase in which the silica is partly ordered. Later films retain only the known hexagonal p6m peaks and have lost any order both at short d-spacings and the longer d-spacing Bragg peaks characteristic of the cubic structure. The silica framework is considerably expanded from that in bulk amorphous silica, average Si Si distances are some 30% greater. Incorporation of glycerol or polyethylene glycol preserves the earlier cubic structure. To be consistent with earlier, in situ, X-ray and neutron reflectivity data we infer that both structures are produced after a phase transition from a less-ordered him structure late in the induction phase. The structural relations between the film Pm3n and p6m phase(s) and the known bulk SBA-1 and MCM-41 phases are briefly discussed.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

We have grown surfactant-templated silicate films at the air-water interface using n-alkyltrimethylammonium bromide and chloride in an acid synthesis with tetraethyl orthosilicate as the silicate source. The films have been grown with and without added salt (sodium chloride, sodium bromide) and with n-alkyl chain lengths from 12 to 18, the growth process being monitored by X-ray reflectometry. Glassy, hexagonal, and lamellar structures have been produced in ways that are predictable from the pure surfactant-water phase diagrams. The synthesis appears to proceed initially through an induction period characterized by the accumulation of silica-coated spherical micelles near the surface. All syntheses, except those involving C(12)TACl, show a sudden transformation of the spherical micellar phase to a hexagonal phase. This occurs when the gradually increasing ionic strength and/or changing ethanol concentration is sufficient to change the position of boundaries within the phase diagram. A possible mechanism for this to occur may be to induce a sphere to rod transition in the micellar structure. This transformation, as predicted from the surfactant-water phase diagram, can be induced by addition of salts and is slower for chloride than bromide counteranions. The hexagonal materials change in cell dimension as the chain length is changed in a way consistent with theoretical model predictions. All the materials have sufficiently flexible silica frameworks that phase interconversion is observed both from glassy to hexagonal and from hexagonal, to lamellar and vice versa in those surfactant systems where multiple phases are found to exist.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

The mechanism of growth of silicate films at the air/liquid interface has been investigated in situ by a series of grazing incidence diffraction experiments using a 20 x 25 cm(2) imaging plate as the detector. C(18)TAX (X = Br- or Cl-) has been used as the film templating surfactant. The formation of a layered phase, prior to growth of the hexagonal mesophase in C(18)TABr templated films. has been seen. This layered structure has a significantly shorter d spacing compared to the final hexagonal film (43 versus 48 Angstrom, respectively). The correlation lengths associated with the development of the hexagonal in-plane diffraction spots are much longer in-plane than perpendicular to the air/liquid interface (300 Angstrom versus 50 Angstrom). This implies that the film forms via the growth or aggregation of islands that are initially only a micelle or two thick. which then grow down into the solution.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

Ecological interface design (EID) is proving to be a promising approach to the design of interfaces for complex dynamic systems. Although the principles of EID and examples of its effective use are widely available, few readily available examples exist of how the individual displays that constitute an ecological interface are developed. This paper presents the semantic mapping process within EID in the context of prior theoretical work in this area. The semantic mapping process that was used in developing an ecological interface for the Pasteurizer II microworld is outlined, and the results of an evaluation of the ecological interface against a more conventional interface are briefly presented. Subjective reports indicate features of the ecological interface that made it particularly valuable for participants. Finally, we outline the steps of an analytic process for using EID. The findings presented here can be applied in the design of ecological interfaces or of configural displays for dynamic processes.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

The development of structure perpendicular to and in the plane of the interface has been studied for mesoporous silicate films self-assembled at the air/water interface. The use of constrained X-ray and neutron specular reflectometry has enabled a detailed study of the structural development perpendicular to the interface during the pre-growth phase. Off-specular neutron reflectometry and grazing incidence X-ray diffraction has enabled the in-plane structure to be probed with excellent time resolution. The growth mechanism under the surfactant to silicate source ratios used in this work is clearly due to the self-assembly of micellar and molecular species at the air/liquid interface, resulting in the formation of a planar mesoporous film that is tens of microns thick. (C) 2003 Elsevier Science B.V. All rights reserved.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

The Xenopus laevis oocyte expression system was used to determine the activities of alpha-conotoxins EpI and the ribbon isomer of AuIB, on defined nicotinic acetylcholine receptors (nAChRs). In contrast to previous findings on intracardiac ganglion neurones, alpha-EpI showed no significant activity on oocyte-expressed alpha3beta4 and alpha3beta2 nAChRs but blocked the alpha7 nAChR with an IC50 value of 30 nM. A similar IC50 value (103 nM) was obtained on the alpha7/5HT(3) chimeric receptor stably expressed in mammalian cells. Ribbon AuIB maintained its selectivity on oocyte-expressed alpha3beta4 receptors but unlike in native cells, where it was 10-fold more potent than native alpha-AuIB, had 25-fold lower activity. These results indicate that as yet unidentified factors influence alpha-conotoxin pharmacology at native versus oocyte-expressed nAChRs. (C) 2003 Published by Elsevier B.V. on behalf of the Federation of European Biochemical Societies.

Relevância:

20.00% 20.00%

Publicador:

Resumo:

A mutant version of the N-terminal domain of Escherichia coli DnaB helicase was used as a model system to assess the stabilization against unfolding gained by covalent cyclization. Cyclization was achieved in vivo by formation of an amide bond between the N and C termini with the help of a split mini-intein. Linear and circular proteins were constructed to be identical in amino acid sequence. Mutagenesis of Phe102 to Glu rendered the protein monomeric even at high concentration. A difference in free energy of unfolding, DeltaDeltaG, between circular and linear protein of 2.3(+/-0.5) kcal mol(-1) was measured at 10degreesC by circular dichroism. A theoretical estimate of the difference in conformational entropy of linear and circular random chains in a three-dimensional cubic lattice model predicted DeltaDeltaG = 2.3 kcal mol(-1), suggesting that stabilization by protein cyclization is driven by the reduced conformational entropy of the unfolded state. Amide-proton exchange rates measured by NMR spectroscopy and mass spectrometry showed a uniform, approximately tenfold decrease of the exchange rates of the most slowly exchanging amide protons, demonstrating that cyclization globally decreases the unfolding rate of the protein. The amide proton exchange was found to follow EX1 kinetics at near-neutral pH, in agreement with an unusually slow refolding I measured by stopped-flow circular dichroism. rate of less than 4 min(-1) The linear and circular proteins differed more in their unfolding than in their folding rates. Global unfolding of the N-terminal domain of E. coli DnaB is thus promoted strongly by spatial separation of the N and C termini, whereas their proximity is much less important for folding. (C) 2005 Elsevier Ltd. All rights reserved.