/usr/share/doc/libtruffle-java/api/com/oracle/truffle/api/object/Shape.html is in libtruffle-java-doc 0.6-2.
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 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 | <!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_79) on Thu May 07 00:06:09 UTC 2015 -->
<title>Shape</title>
<meta name="date" content="2015-05-07">
<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="Shape";
}
//-->
</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/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/oracle/truffle/api/object/Shape.html" target="_top">Frames</a></li>
<li><a href="Shape.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: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </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.oracle.truffle.api.object</div>
<h2 title="Class Shape" class="title">Class Shape</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.oracle.truffle.api.object.Shape</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../com/oracle/truffle/object/ShapeImpl.html" title="class in com.oracle.truffle.object">ShapeImpl</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="strong">Shape</span>
extends java.lang.Object</pre>
<div class="block">Shape objects create a mapping of Property objects to Locations. Shapes are immutable; adding or
deleting a property yields a new Shape which links to the old one. This allows inline caching to
simply check the identity of an object's Shape to determine if the cache is valid. There is one
exception to this immutability, the transition map, but that is used simply to assure that an
identical series of property additions and deletions will yield the same Shape object.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object"><code>DynamicObject</code></a>,
<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object"><code>Property</code></a>,
<a href="../../../../../com/oracle/truffle/api/object/Location.html" title="class in com.oracle.truffle.api.object"><code>Location</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object">Shape.Allocator</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface </code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.Pred.html" title="interface in com.oracle.truffle.api.object">Shape.Pred</a><<a href="../../../../../com/oracle/truffle/api/object/Shape.Pred.html" title="type parameter in Shape.Pred">T</a>></strong></code>
<div class="block">Represents a predicate (boolean-valued function) of one argument.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#Shape()">Shape</a></strong>()</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== 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"> </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><R> R</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#accept(com.oracle.truffle.api.object.ShapeVisitor)">accept</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/ShapeVisitor.html" title="interface in com.oracle.truffle.api.object">ShapeVisitor</a><R> visitor)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#addProperty(com.oracle.truffle.api.object.Property)">addProperty</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> property)</code>
<div class="block">Add a new property in the map, yielding a new or cached Shape object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object">Shape.Allocator</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#allocator()">allocator</a></strong>()</code>
<div class="block">Obtain an <a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object"><code>Shape.Allocator</code></a> instance for the purpose of allocating locations.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#append(com.oracle.truffle.api.object.Property)">append</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> oldProperty)</code>
<div class="block">Append the property, relocating it to the next allocated location.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#changeType(com.oracle.truffle.api.object.ObjectType)">changeType</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/ObjectType.html" title="class in com.oracle.truffle.api.object">ObjectType</a> newOps)</code>
<div class="block">Change the shape's type, yielding a new shape.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#check(com.oracle.truffle.api.object.DynamicObject)">check</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object">DynamicObject</a> subject)</code>
<div class="block">Check whether this shape is identical to the given shape.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#copyOverPropertiesInternal(com.oracle.truffle.api.object.Shape)">copyOverPropertiesInternal</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> destination)</code>
<div class="block">For copying over properties after exchanging the prototype of an object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/DynamicObjectFactory.html" title="interface in com.oracle.truffle.api.object">DynamicObjectFactory</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#createFactory()">createFactory</a></strong>()</code>
<div class="block">Create a <a href="../../../../../com/oracle/truffle/api/object/DynamicObjectFactory.html" title="interface in com.oracle.truffle.api.object"><code>DynamicObjectFactory</code></a> for creating instances of this shape.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#createSeparateShape(java.lang.Object)">createSeparateShape</a></strong>(java.lang.Object sharedData)</code>
<div class="block">Clone off a separate shape with new shared data.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getData()">getData</a></strong>()</code>
<div class="block">Get the shape's custom data.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getId()">getId</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.util.List<java.lang.Object></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getKeyList()">getKeyList</a></strong>()</code>
<div class="block">Get a list of all property keys in insertion order.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract java.util.List<java.lang.Object></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getKeyList(com.oracle.truffle.api.object.Shape.Pred)">getKeyList</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Shape.Pred.html" title="interface in com.oracle.truffle.api.object">Shape.Pred</a><<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> filter)</code>
<div class="block">Get a filtered list of property keys in insertion order.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.lang.Iterable<java.lang.Object></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getKeys()">getKeys</a></strong>()</code>
<div class="block">Get all property keys in insertion order.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getLastProperty()">getLastProperty</a></strong>()</code>
<div class="block">Get the last added property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Layout.html" title="class in com.oracle.truffle.api.object">Layout</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getLayout()">getLayout</a></strong>()</code>
<div class="block">Get the shape's layout.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/Assumption.html" title="interface in com.oracle.truffle.api">Assumption</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getLeafAssumption()">getLeafAssumption</a></strong>()</code>
<div class="block">Get an assumption that the shape is a leaf.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getMutex()">getMutex</a></strong>()</code>
<div class="block">Get mutex object shared by related shapes, i.e.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getObjectArrayCapacity()">getObjectArrayCapacity</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getObjectArraySize()">getObjectArraySize</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getObjectFieldSize()">getObjectFieldSize</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/ObjectType.html" title="class in com.oracle.truffle.api.object">ObjectType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getObjectType()">getObjectType</a></strong>()</code>
<div class="block">Get the shape's operations.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getParent()">getParent</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPrimitiveArrayCapacity()">getPrimitiveArrayCapacity</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPrimitiveArraySize()">getPrimitiveArraySize</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPrimitiveFieldSize()">getPrimitiveFieldSize</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract java.lang.Iterable<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getProperties()">getProperties</a></strong>()</code>
<div class="block">An <code>Iterable</code> over the shape's properties in insertion order.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getProperty(java.lang.Object)">getProperty</a></strong>(java.lang.Object key)</code>
<div class="block">Get a property entry by key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPropertyCount()">getPropertyCount</a></strong>()</code>
<div class="block">Get number of properties in this shape.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.util.List<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPropertyList()">getPropertyList</a></strong>()</code>
<div class="block">Get a list of all properties that this Shape stores.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract java.util.List<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPropertyList(com.oracle.truffle.api.object.Shape.Pred)">getPropertyList</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Shape.Pred.html" title="interface in com.oracle.truffle.api.object">Shape.Pred</a><<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> filter)</code>
<div class="block">Get a list of properties that this Shape stores.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.util.List<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getPropertyListInternal(boolean)">getPropertyListInternal</a></strong>(boolean ascending)</code>
<div class="block">Returns all (also hidden) property objects in this shape.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getRoot()">getRoot</a></strong>()</code>
<div class="block">Get the root shape.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getSharedData()">getSharedData</a></strong>()</code>
<div class="block">Get the shape's shared data.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/Assumption.html" title="interface in com.oracle.truffle.api">Assumption</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#getValidAssumption()">getValidAssumption</a></strong>()</code>
<div class="block">Get an assumption that the shape is valid.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#hasPrimitiveArray()">hasPrimitiveArray</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#hasProperty(java.lang.Object)">hasProperty</a></strong>(java.lang.Object key)</code>
<div class="block">Check whether the shape has a property with the given key.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#hasTransitionWithKey(java.lang.Object)">hasTransitionWithKey</a></strong>(java.lang.Object key)</code>
<div class="block">Query whether the shape has a transition with the given key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#isLeaf()">isLeaf</a></strong>()</code>
<div class="block">Check whether this shape is a leaf in the transition graph, i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#isRelated(com.oracle.truffle.api.object.Shape)">isRelated</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> other)</code>
<div class="block">Are these two shapes related, i.e.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#isValid()">isValid</a></strong>()</code>
<div class="block">Check whether this shape is valid.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object">DynamicObject</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#newInstance()">newInstance</a></strong>()</code>
<div class="block">Create a new <a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object"><code>DynamicObject</code></a> instance with this shape.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#removeProperty(com.oracle.truffle.api.object.Property)">removeProperty</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> property)</code>
<div class="block">Remove the given property from the shape.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#replaceProperty(com.oracle.truffle.api.object.Property,%20com.oracle.truffle.api.object.Property)">replaceProperty</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> oldProperty,
<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> newProperty)</code>
<div class="block">Replace a property in the shape.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#reservePrimitiveExtensionArray()">reservePrimitiveExtensionArray</a></strong>()</code>
<div class="block">Reserve the primitive extension array field.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../com/oracle/truffle/api/object/Shape.html#tryMerge(com.oracle.truffle.api.object.Shape)">tryMerge</a></strong>(<a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> other)</code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Shape()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Shape</h4>
<pre>public Shape()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getProperty(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> getProperty(java.lang.Object key)</pre>
<div class="block">Get a property entry by key.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - the identifier to look up</dd>
<dt><span class="strong">Returns:</span></dt><dd>a Property object, or null if not found</dd></dl>
</li>
</ul>
<a name="addProperty(com.oracle.truffle.api.object.Property)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addProperty</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> addProperty(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> property)</pre>
<div class="block">Add a new property in the map, yielding a new or cached Shape object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>property</code> - the property to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new Shape</dd></dl>
</li>
</ul>
<a name="getProperties()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperties</h4>
<pre>public abstract java.lang.Iterable<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> getProperties()</pre>
<div class="block">An <code>Iterable</code> over the shape's properties in insertion order.</div>
</li>
</ul>
<a name="getPropertyList(com.oracle.truffle.api.object.Shape.Pred)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyList</h4>
<pre>public abstract java.util.List<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> getPropertyList(<a href="../../../../../com/oracle/truffle/api/object/Shape.Pred.html" title="interface in com.oracle.truffle.api.object">Shape.Pred</a><<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> filter)</pre>
<div class="block">Get a list of properties that this Shape stores.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>list of properties</dd></dl>
</li>
</ul>
<a name="getPropertyList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyList</h4>
<pre>public abstract java.util.List<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> getPropertyList()</pre>
<div class="block">Get a list of all properties that this Shape stores.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>list of properties</dd></dl>
</li>
</ul>
<a name="getPropertyListInternal(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyListInternal</h4>
<pre>public abstract java.util.List<<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> getPropertyListInternal(boolean ascending)</pre>
<div class="block">Returns all (also hidden) property objects in this shape.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ascending</code> - desired order (<code>true</code> for insertion order, <code>false</code> for reverse
insertion order)</dd></dl>
</li>
</ul>
<a name="getKeyList(com.oracle.truffle.api.object.Shape.Pred)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeyList</h4>
<pre>public abstract java.util.List<java.lang.Object> getKeyList(<a href="../../../../../com/oracle/truffle/api/object/Shape.Pred.html" title="interface in com.oracle.truffle.api.object">Shape.Pred</a><<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a>> filter)</pre>
<div class="block">Get a filtered list of property keys in insertion order.</div>
</li>
</ul>
<a name="getKeyList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeyList</h4>
<pre>public abstract java.util.List<java.lang.Object> getKeyList()</pre>
<div class="block">Get a list of all property keys in insertion order.</div>
</li>
</ul>
<a name="getKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeys</h4>
<pre>public abstract java.lang.Iterable<java.lang.Object> getKeys()</pre>
<div class="block">Get all property keys in insertion order.</div>
</li>
</ul>
<a name="getValidAssumption()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidAssumption</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/Assumption.html" title="interface in com.oracle.truffle.api">Assumption</a> getValidAssumption()</pre>
<div class="block">Get an assumption that the shape is valid.</div>
</li>
</ul>
<a name="isValid()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValid</h4>
<pre>public abstract boolean isValid()</pre>
<div class="block">Check whether this shape is valid.</div>
</li>
</ul>
<a name="getLeafAssumption()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeafAssumption</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/Assumption.html" title="interface in com.oracle.truffle.api">Assumption</a> getLeafAssumption()</pre>
<div class="block">Get an assumption that the shape is a leaf.</div>
</li>
</ul>
<a name="isLeaf()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLeaf</h4>
<pre>public abstract boolean isLeaf()</pre>
<div class="block">Check whether this shape is a leaf in the transition graph, i.e. transitionless.</div>
</li>
</ul>
<a name="getParent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> getParent()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the parent shape or <code>null</code> if none.</dd></dl>
</li>
</ul>
<a name="hasProperty(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasProperty</h4>
<pre>public abstract boolean hasProperty(java.lang.Object key)</pre>
<div class="block">Check whether the shape has a property with the given key.</div>
</li>
</ul>
<a name="removeProperty(com.oracle.truffle.api.object.Property)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeProperty</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> removeProperty(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> property)</pre>
<div class="block">Remove the given property from the shape.</div>
</li>
</ul>
<a name="replaceProperty(com.oracle.truffle.api.object.Property, com.oracle.truffle.api.object.Property)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceProperty</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> replaceProperty(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> oldProperty,
<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> newProperty)</pre>
<div class="block">Replace a property in the shape.</div>
</li>
</ul>
<a name="getLastProperty()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastProperty</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> getLastProperty()</pre>
<div class="block">Get the last added property.</div>
</li>
</ul>
<a name="getId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre>public abstract int getId()</pre>
</li>
</ul>
<a name="append(com.oracle.truffle.api.object.Property)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> append(<a href="../../../../../com/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object">Property</a> oldProperty)</pre>
<div class="block">Append the property, relocating it to the next allocated location.</div>
</li>
</ul>
<a name="allocator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allocator</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object">Shape.Allocator</a> allocator()</pre>
<div class="block">Obtain an <a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object"><code>Shape.Allocator</code></a> instance for the purpose of allocating locations.</div>
</li>
</ul>
<a name="copyOverPropertiesInternal(com.oracle.truffle.api.object.Shape)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOverPropertiesInternal</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> copyOverPropertiesInternal(<a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> destination)</pre>
<div class="block">For copying over properties after exchanging the prototype of an object.</div>
</li>
</ul>
<a name="getPropertyCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPropertyCount</h4>
<pre>public abstract int getPropertyCount()</pre>
<div class="block">Get number of properties in this shape.</div>
</li>
</ul>
<a name="getObjectType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectType</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/ObjectType.html" title="class in com.oracle.truffle.api.object">ObjectType</a> getObjectType()</pre>
<div class="block">Get the shape's operations.</div>
</li>
</ul>
<a name="getRoot()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoot</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> getRoot()</pre>
<div class="block">Get the root shape.</div>
</li>
</ul>
<a name="check(com.oracle.truffle.api.object.DynamicObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>check</h4>
<pre>public abstract boolean check(<a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object">DynamicObject</a> subject)</pre>
<div class="block">Check whether this shape is identical to the given shape.</div>
</li>
</ul>
<a name="getLayout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLayout</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Layout.html" title="class in com.oracle.truffle.api.object">Layout</a> getLayout()</pre>
<div class="block">Get the shape's layout.</div>
</li>
</ul>
<a name="getData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public abstract java.lang.Object getData()</pre>
<div class="block">Get the shape's custom data.</div>
</li>
</ul>
<a name="getSharedData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSharedData</h4>
<pre>public abstract java.lang.Object getSharedData()</pre>
<div class="block">Get the shape's shared data.</div>
</li>
</ul>
<a name="hasTransitionWithKey(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasTransitionWithKey</h4>
<pre>public abstract boolean hasTransitionWithKey(java.lang.Object key)</pre>
<div class="block">Query whether the shape has a transition with the given key.</div>
</li>
</ul>
<a name="createSeparateShape(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSeparateShape</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> createSeparateShape(java.lang.Object sharedData)</pre>
<div class="block">Clone off a separate shape with new shared data.</div>
</li>
</ul>
<a name="changeType(com.oracle.truffle.api.object.ObjectType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>changeType</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> changeType(<a href="../../../../../com/oracle/truffle/api/object/ObjectType.html" title="class in com.oracle.truffle.api.object">ObjectType</a> newOps)</pre>
<div class="block">Change the shape's type, yielding a new shape.</div>
</li>
</ul>
<a name="reservePrimitiveExtensionArray()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reservePrimitiveExtensionArray</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> reservePrimitiveExtensionArray()</pre>
<div class="block">Reserve the primitive extension array field.</div>
</li>
</ul>
<a name="newInstance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object">DynamicObject</a> newInstance()</pre>
<div class="block">Create a new <a href="../../../../../com/oracle/truffle/api/object/DynamicObject.html" title="interface in com.oracle.truffle.api.object"><code>DynamicObject</code></a> instance with this shape.</div>
</li>
</ul>
<a name="createFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFactory</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/DynamicObjectFactory.html" title="interface in com.oracle.truffle.api.object">DynamicObjectFactory</a> createFactory()</pre>
<div class="block">Create a <a href="../../../../../com/oracle/truffle/api/object/DynamicObjectFactory.html" title="interface in com.oracle.truffle.api.object"><code>DynamicObjectFactory</code></a> for creating instances of this shape.</div>
</li>
</ul>
<a name="getMutex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMutex</h4>
<pre>public abstract java.lang.Object getMutex()</pre>
<div class="block">Get mutex object shared by related shapes, i.e. shapes with a common root.</div>
</li>
</ul>
<a name="getObjectArraySize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectArraySize</h4>
<pre>public abstract int getObjectArraySize()</pre>
</li>
</ul>
<a name="getObjectFieldSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectFieldSize</h4>
<pre>public abstract int getObjectFieldSize()</pre>
</li>
</ul>
<a name="getPrimitiveArraySize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrimitiveArraySize</h4>
<pre>public abstract int getPrimitiveArraySize()</pre>
</li>
</ul>
<a name="getPrimitiveFieldSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrimitiveFieldSize</h4>
<pre>public abstract int getPrimitiveFieldSize()</pre>
</li>
</ul>
<a name="getObjectArrayCapacity()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectArrayCapacity</h4>
<pre>public abstract int getObjectArrayCapacity()</pre>
</li>
</ul>
<a name="getPrimitiveArrayCapacity()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrimitiveArrayCapacity</h4>
<pre>public abstract int getPrimitiveArrayCapacity()</pre>
</li>
</ul>
<a name="hasPrimitiveArray()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasPrimitiveArray</h4>
<pre>public abstract boolean hasPrimitiveArray()</pre>
</li>
</ul>
<a name="isRelated(com.oracle.truffle.api.object.Shape)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRelated</h4>
<pre>public abstract boolean isRelated(<a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> other)</pre>
<div class="block">Are these two shapes related, i.e. do they have the same root?</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Shape to compare to</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if one shape is an upcast of the other, or the Shapes are equal</dd></dl>
</li>
</ul>
<a name="tryMerge(com.oracle.truffle.api.object.Shape)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tryMerge</h4>
<pre>public abstract <a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> tryMerge(<a href="../../../../../com/oracle/truffle/api/object/Shape.html" title="class in com.oracle.truffle.api.object">Shape</a> other)</pre>
</li>
</ul>
<a name="accept(com.oracle.truffle.api.object.ShapeVisitor)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>accept</h4>
<pre>public <R> R accept(<a href="../../../../../com/oracle/truffle/api/object/ShapeVisitor.html" title="interface in com.oracle.truffle.api.object">ShapeVisitor</a><R> visitor)</pre>
</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/oracle/truffle/api/object/Property.html" title="class in com.oracle.truffle.api.object"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../com/oracle/truffle/api/object/Shape.Allocator.html" title="class in com.oracle.truffle.api.object"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/oracle/truffle/api/object/Shape.html" target="_top">Frames</a></li>
<li><a href="Shape.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: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|