/usr/share/doc/libgpars-groovy-java/api/gpars/csp/JCSPCopy.html is in libgpars-groovy-java-doc 0.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- * PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- * i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->
<html>
<head>
<!-- Generated by groovydoc (1.7.0) on Sun Jul 11 19:43:39 UTC 2010 -->
<title>JCSPCopy (Groovy Documentation)</title>
<meta name="date" content="2010-07-11">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JCSPCopy (Groovy Documentation)";
}
}
</script>
<noscript>
</noscript>
</head><body onload="windowTitle();" bgcolor="white">
<hr>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<!--<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Groovy Documentation</b>
</EM></TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><!--<FONT SIZE="-2">
<A HREF="../../groovy/lang/ExpandoMetaClass.ExpandoMetaProperty.html" title="class in groovy.lang"><B>PREV CLASS</B></A>
<A HREF="../../groovy/lang/GroovyClassLoader.html" title="class in groovy.lang"><B>NEXT CLASS</B></A></FONT>--></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?gpars/csp/JCSPCopy.html" target="_top"><B>FRAMES</B></A>
<A HREF="JCSPCopy.html" target="_top"><B>NO FRAMES</B></A>
<script type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-frame.html"><B>All Classes</B></A>');
}
//-->
</script>
<noscript>
<A HREF="../../allclasses-frame.html"><B>All Classes</B></A>
</noscript>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
gpars.csp</FONT>
<BR>
<FONT CLASS="ClassTitleFont">Interface JCSPCopy</FONT></H2>
<hr>
<PRE>interface JCSPCopy
</PRE>
<!-- =========== NESTED CLASS SUMMARY =========== -->
<A NAME="nested_summary"><!-- --></A>
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<A NAME="enum_constant_summary"><!-- --></A>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<!-- =========== PROPERTY SUMMARY =========== -->
<A NAME="property_summary"><!-- --></A>
<!-- =========== ELEMENT SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2" CLASS="ClassHeadingFont">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1" CLASS="ClassItemFont">
<CODE>def</CODE></FONT>
</TD>
<TD>
<CODE><b><a href="#copy()">copy</a></b>()</CODE>
<BR>
<P> The interface <code>JCSPCopy</code> is used to define a <code>copy</code> method
that is used to make a deep copy of an object. </P>
</TD>
</TR>
</TABLE>
<P>
<!-- ============ ENUM CONSTANT DETAIL ========== -->
<A NAME="enum_constant_detail"><!-- --></A>
<!-- =========== FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<!-- =========== PROPERTY DETAIL =========== -->
<A NAME="prop_detail"><!-- --></A>
<!-- =========== ELEMENT DETAIL =========== -->
<A NAME="element_detail"><!-- --></A>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="copy()"><!-- --></A><H3>
copy</H3>
<PRE>public def <B>copy</B>()</PRE>
<DL>
<DD> The interface <code>JCSPCopy</code> is used to define a <code>copy</code> method
that is used to make a deep copy of an object. In parallel systems an <code>object</code>
is used to encapsulate data only. When an <code>object</code> is communicated from one process
to another then an object reference is passed from the outputting process to the inputting one,
if the processes are on the same processor. This would mean that two processes could modify the
same object in parallel, which of course is very dangerous. One of the processes has to make
a copy of the object if they are both to work on the same object at the same time. This can be
achieved by always declaring new objects for each iteration of a process, which is wasteful of
memory, or by copying the object. The interface <code>JCSPCopy</code> gives the basic
definition of such a <code>copy</code> method.
If an <code>object</code> is communicated over a network channel there is no need to make
a copy as the <code>object</code> has to implement <code>Serializable</code> and a copy
is made by the underlying system. A processor cannot access the memory space of
another processor.
<p>Company: Napier University</p>
<DL><DT><B>author:</B></DT><DD>Jon Kerridge, Ken Barclay, John Savage
</DD></DL><DL><DT><B>version:</B></DT><DD>1.0
</DD></DL>
</DD>
<P>
</DL>
<HR>
<!-- ========= END OF CLASS DATA ========= -->
<p>Groovy Documentation</p>
<hr>
</body>
</html>
|