Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 0edb29da6b5db90465dd0d294e6cfd6a > files > 411

db4.8-4.8.30-13.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Thu Jan 09 22:45:24 GMT 2014 -->
<title>PrimitiveArrayFormat</title>
<meta name="date" content="2014-01-09">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="PrimitiveArrayFormat";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/sleepycat/persist/impl/PersistKeyCreator.html" title="class in com.sleepycat.persist.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/sleepycat/persist/impl/ProxiedFormat.html" title="class in com.sleepycat.persist.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/sleepycat/persist/impl/PrimitiveArrayFormat.html" target="_top">Frames</a></li>
<li><a href="PrimitiveArrayFormat.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.sleepycat.persist.impl</div>
<h2 title="Class PrimitiveArrayFormat" class="title">Class PrimitiveArrayFormat</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">com.sleepycat.persist.impl.Format</a></li>
<li>
<ul class="inheritance">
<li>com.sleepycat.persist.impl.PrimitiveArrayFormat</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</a>, java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">PrimitiveArrayFormat</span>
extends <a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></pre>
<div class="block">An array of primitives having one dimension.  Multidimensional arrays are
 handled by <a href="../../../../com/sleepycat/persist/impl/ObjectArrayFormat.html" title="class in com.sleepycat.persist.impl"><code>ObjectArrayFormat</code></a>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.sleepycat.persist.impl.PrimitiveArrayFormat">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/PrimitiveArrayFormat.html#getComponentType()">getComponentType</a></strong>()</code>
<div class="block">Returns the array component type, or null if this is not an array type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/PrimitiveArrayFormat.html#getDimensions()">getDimensions</a></strong>()</code>
<div class="block">Returns the number of array dimensions, or zero if this is not an array
 type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/PrimitiveArrayFormat.html#isArray()">isArray</a></strong>()</code>
<div class="block">Returns whether this is an array type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/PrimitiveArrayFormat.html#newInstance(com.sleepycat.persist.impl.EntityInput, boolean)">newInstance</a></strong>(<a href="../../../../com/sleepycat/persist/impl/EntityInput.html" title="interface in com.sleepycat.persist.impl">EntityInput</a>&nbsp;input,
           boolean&nbsp;rawAccess)</code>
<div class="block">Creates a new instance of the target class using its default
 constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../com/sleepycat/persist/impl/PrimitiveArrayFormat.html#readObject(java.lang.Object, com.sleepycat.persist.impl.EntityInput, boolean)">readObject</a></strong>(java.lang.Object&nbsp;o,
          <a href="../../../../com/sleepycat/persist/impl/EntityInput.html" title="interface in com.sleepycat.persist.impl">EntityInput</a>&nbsp;input,
          boolean&nbsp;rawAccess)</code>
<div class="block">Called after newInstance() to read the rest of the data bytes and fill
 in the object contents.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_com.sleepycat.persist.impl.Format">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;com.sleepycat.persist.impl.<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></h3>
<code><a href="../../../../com/sleepycat/persist/impl/Format.html#getClassMetadata()">getClassMetadata</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getClassName()">getClassName</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getEntityMetadata()">getEntityMetadata</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getEnumConstants()">getEnumConstants</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getFields()">getFields</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getId()">getId</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getPreviousVersion()">getPreviousVersion</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getSuperType()">getSuperType</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#getVersion()">getVersion</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#initializeReader(com.sleepycat.persist.impl.Catalog, com.sleepycat.persist.model.EntityModel, int, com.sleepycat.persist.impl.Format)">initializeReader</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#isEnum()">isEnum</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#isPrimitive()">isPrimitive</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#isSimple()">isSimple</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#readPriKey(java.lang.Object, com.sleepycat.persist.impl.EntityInput, boolean)">readPriKey</a>, <a href="../../../../com/sleepycat/persist/impl/Format.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="isArray()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isArray</h4>
<pre>public&nbsp;boolean&nbsp;isArray()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/sleepycat/persist/raw/RawType.html#isArray()">RawType</a></code></strong></div>
<div class="block">Returns whether this is an array type.  Raw value arrays are represented
 as <a href="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw"><code>RawObject</code></a> instances.

 <p>If true is returned, the array component type is returned by <a href="../../../../com/sleepycat/persist/raw/RawType.html#getComponentType()"><code>RawType.getComponentType()</code></a> and the number of array dimensions is returned by
 <a href="../../../../com/sleepycat/persist/raw/RawType.html#getDimensions()"><code>RawType.getDimensions()</code></a>.</p>

 <p>If false is returned, then this is a complex type, an enum type (see
 <a href="../../../../com/sleepycat/persist/raw/RawType.html#isEnum()"><code>RawType.isEnum()</code></a>), or a simple type (see <a href="../../../../com/sleepycat/persist/raw/RawType.html#isSimple()"><code>RawType.isSimple()</code></a>).</p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/raw/RawType.html#isArray()">isArray</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/impl/Format.html#isArray()">isArray</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></dd>
</dl>
</li>
</ul>
<a name="getDimensions()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDimensions</h4>
<pre>public&nbsp;int&nbsp;getDimensions()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/sleepycat/persist/raw/RawType.html#getDimensions()">RawType</a></code></strong></div>
<div class="block">Returns the number of array dimensions, or zero if this is not an array
 type.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/raw/RawType.html#getDimensions()">getDimensions</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/impl/Format.html#getDimensions()">getDimensions</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></dd>
</dl>
</li>
</ul>
<a name="getComponentType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComponentType</h4>
<pre>public&nbsp;<a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a>&nbsp;getComponentType()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/sleepycat/persist/raw/RawType.html#getComponentType()">RawType</a></code></strong></div>
<div class="block">Returns the array component type, or null if this is not an array type.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/raw/RawType.html#getComponentType()">getComponentType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/impl/Format.html#getComponentType()">getComponentType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></dd>
</dl>
</li>
</ul>
<a name="newInstance(com.sleepycat.persist.impl.EntityInput, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>public&nbsp;java.lang.Object&nbsp;newInstance(<a href="../../../../com/sleepycat/persist/impl/EntityInput.html" title="interface in com.sleepycat.persist.impl">EntityInput</a>&nbsp;input,
                           boolean&nbsp;rawAccess)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html#newInstance(com.sleepycat.persist.impl.EntityInput, boolean)">Format</a></code></strong></div>
<div class="block">Creates a new instance of the target class using its default
 constructor.  Normally this creates an empty object, and readObject() is
 called next to fill in the contents.  This is done in two steps to allow
 the instance to be registered by EntityInput before reading the
 contents.  This allows the fields in an object or a nested object to
 refer to the parent object in a graph.

 Alternatively, this method may read all or the first portion of the
 data, rather than that being done by readObject().  This is required for
 simple types and enums, where the object cannot be created without
 reading the data.  In these cases, there is no possibility that the
 parent object will be referenced by the child object in the graph.  It
 should not be done in other cases, or the graph references may not be
 maintained faithfully.

 Is public only in order to implement the Reader interface.  Note that
 this method should only be called directly in raw conversion mode or
 during conversion of an old format.  Normally it should be called via
 the getReader method and the Reader interface.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/impl/Format.html#newInstance(com.sleepycat.persist.impl.EntityInput, boolean)">newInstance</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></dd>
</dl>
</li>
</ul>
<a name="readObject(java.lang.Object, com.sleepycat.persist.impl.EntityInput, boolean)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>readObject</h4>
<pre>public&nbsp;java.lang.Object&nbsp;readObject(java.lang.Object&nbsp;o,
                          <a href="../../../../com/sleepycat/persist/impl/EntityInput.html" title="interface in com.sleepycat.persist.impl">EntityInput</a>&nbsp;input,
                          boolean&nbsp;rawAccess)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html#readObject(java.lang.Object, com.sleepycat.persist.impl.EntityInput, boolean)">Format</a></code></strong></div>
<div class="block">Called after newInstance() to read the rest of the data bytes and fill
 in the object contents.  If the object was read completely by
 newInstance(), this method does nothing.

 Is public only in order to implement the Reader interface.  Note that
 this method should only be called directly in raw conversion mode or
 during conversion of an old format.  Normally it should be called via
 the getReader method and the Reader interface.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/sleepycat/persist/impl/Format.html#readObject(java.lang.Object, com.sleepycat.persist.impl.EntityInput, boolean)">readObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/sleepycat/persist/impl/Format.html" title="class in com.sleepycat.persist.impl">Format</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/sleepycat/persist/impl/PersistKeyCreator.html" title="class in com.sleepycat.persist.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/sleepycat/persist/impl/ProxiedFormat.html" title="class in com.sleepycat.persist.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/sleepycat/persist/impl/PrimitiveArrayFormat.html" target="_top">Frames</a></li>
<li><a href="PrimitiveArrayFormat.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>