/usr/share/doc/libglazedlists-java-doc/api/ca/odell/glazedlists/AbstractEventList.html is in libglazedlists-java-doc 1.9.0+dfsg-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 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html>
<head>
<title>AbstractEventList (Glazed Lists)</title>
<meta name="date" content="2016-02-14">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractEventList (Glazed Lists)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":6,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":6,"i26":10,"i27":10,"i28":10,"i29":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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="class-use/AbstractEventList.html">Use</a></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>Prev Class</li>
<li><a href="../../../ca/odell/glazedlists/BasicEventList.html" title="class in ca.odell.glazedlists"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?ca/odell/glazedlists/AbstractEventList.html" target="_top">Frames</a></li>
<li><a href="AbstractEventList.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>Nested | </li>
<li><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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">ca.odell.glazedlists</div>
<h2 title="Class AbstractEventList" class="title">Class AbstractEventList<E></h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>ca.odell.glazedlists.AbstractEventList<E></li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a><E>, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../ca/odell/glazedlists/BasicEventList.html" title="class in ca.odell.glazedlists">BasicEventList</a>, <a href="../../../ca/odell/glazedlists/DebugList.html" title="class in ca.odell.glazedlists">DebugList</a>, <a href="../../../ca/odell/glazedlists/TransformedList.html" title="class in ca.odell.glazedlists">TransformedList</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractEventList<E></span>
extends java.lang.Object
implements <a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a><E></pre>
<div class="block">A convenience class that implements common functionality for all <a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a>s.
<p>If you are creating a custom <a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a>, consider extending the more
feature-rich <a href="../../../ca/odell/glazedlists/TransformedList.html" title="class in ca.odell.glazedlists"><code>TransformedList</code></a>.
<p>Documentation Note: Javadoc tags have been copied from the <code>List</code> API
because the <code>javadoc</code> tool does not inherit external descriptions.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:jesse@swank.ca">Jesse Wilson</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event">ListEventPublisher</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#publisher">publisher</a></span></code>
<div class="block">the publisher manages the distribution of changes</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../ca/odell/glazedlists/util/concurrent/ReadWriteLock.html" title="interface in ca.odell.glazedlists.util.concurrent">ReadWriteLock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#readWriteLock">readWriteLock</a></span></code>
<div class="block">the read/write lock provides mutual exclusion to access</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../ca/odell/glazedlists/event/ListEventAssembler.html" title="class in ca.odell.glazedlists.event">ListEventAssembler</a><<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#updates">updates</a></span></code>
<div class="block">the change event and notification system</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="memberSummary" 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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#AbstractEventList--">AbstractEventList</a></span>()</code>
<div class="block">Create an <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="class in ca.odell.glazedlists"><code>AbstractEventList</code></a> that sends events with the default
<a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event"><code>ListEventPublisher</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#AbstractEventList-ca.odell.glazedlists.event.ListEventPublisher-">AbstractEventList</a></span>(<a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event">ListEventPublisher</a> publisher)</code>
<div class="block">Creates an <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="class in ca.odell.glazedlists"><code>AbstractEventList</code></a> that sends events using the specified
<a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event"><code>ListEventPublisher</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#add-E-">add</a></span>(<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> value)</code>
<div class="block">Appends the specified element to the end of this list (optional
operation).</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#add-int-E-">add</a></span>(int index,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> value)</code>
<div class="block">Inserts the specified element at the specified position in this list
(optional operation).</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#addAll-java.util.Collection-">addAll</a></span>(java.util.Collection<? extends <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> values)</code>
<div class="block">Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the specified
collection's iterator (optional operation).</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#addAll-int-java.util.Collection-">addAll</a></span>(int index,
java.util.Collection<? extends <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> values)</code>
<div class="block">Inserts all of the elements in the specified collection into this
list at the specified position (optional operation).</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#addListEventListener-ca.odell.glazedlists.event.ListEventListener-">addListEventListener</a></span>(<a href="../../../ca/odell/glazedlists/event/ListEventListener.html" title="interface in ca.odell.glazedlists.event">ListEventListener</a><? super <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> listChangeListener)</code>
<div class="block">Registers the specified listener to receive change updates for this list.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#clear--">clear</a></span>()</code>
<div class="block">Removes all of the elements from this list (optional operation).</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#contains-java.lang.Object-">contains</a></span>(java.lang.Object object)</code>
<div class="block">Returns <tt>true</tt> if this list contains the specified element.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#containsAll-java.util.Collection-">containsAll</a></span>(java.util.Collection<?> values)</code>
<div class="block">Returns <tt>true</tt> if this list contains all of the elements of the
specified collection.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object object)</code>
<div class="block">Compares the specified object with this list for equality.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#get-int-">get</a></span>(int index)</code>
<div class="block">Returns the element at the specified position in this list.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event">ListEventPublisher</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#getPublisher--">getPublisher</a></span>()</code>
<div class="block">Get the publisher used to distribute <a href="../../../ca/odell/glazedlists/event/ListEvent.html" title="class in ca.odell.glazedlists.event"><code>ListEvent</code></a>s.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../ca/odell/glazedlists/util/concurrent/ReadWriteLock.html" title="interface in ca.odell.glazedlists.util.concurrent">ReadWriteLock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#getReadWriteLock--">getReadWriteLock</a></span>()</code>
<div class="block">Gets the lock required to share this list between multiple threads.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#hashCode--">hashCode</a></span>()</code>
<div class="block">Returns the hash code value for this list.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#indexOf-java.lang.Object-">indexOf</a></span>(java.lang.Object object)</code>
<div class="block">Returns the index in this list of the first occurrence of the specified
element, or -1 if this list does not contain this element.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#isEmpty--">isEmpty</a></span>()</code>
<div class="block">Returns <tt>true</tt> if this list contains no elements.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.util.Iterator<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#iterator--">iterator</a></span>()</code>
<div class="block">Returns an iterator over the elements in this list in proper sequence.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a></span>(java.lang.Object object)</code>
<div class="block">Returns the index in this list of the last occurrence of the specified
element, or -1 if this list does not contain this element.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.util.ListIterator<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#listIterator--">listIterator</a></span>()</code>
<div class="block">Returns a list iterator of the elements in this list (in proper
sequence).</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>java.util.ListIterator<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#listIterator-int-">listIterator</a></span>(int index)</code>
<div class="block">Returns a list iterator of the elements in this list (in proper
sequence), starting at the specified position in this list.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#remove-int-">remove</a></span>(int index)</code>
<div class="block">Removes the element at the specified position in this list (optional
operation).</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#remove-java.lang.Object-">remove</a></span>(java.lang.Object toRemove)</code>
<div class="block">Removes the first occurrence in this list of the specified element
(optional operation).</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#removeAll-java.util.Collection-">removeAll</a></span>(java.util.Collection<?> values)</code>
<div class="block">Removes from this list all the elements that are contained in the
specified collection (optional operation).</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#removeListEventListener-ca.odell.glazedlists.event.ListEventListener-">removeListEventListener</a></span>(<a href="../../../ca/odell/glazedlists/event/ListEventListener.html" title="interface in ca.odell.glazedlists.event">ListEventListener</a><? super <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> listChangeListener)</code>
<div class="block">Removes the specified listener from receiving change updates for this list.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#retainAll-java.util.Collection-">retainAll</a></span>(java.util.Collection<?> values)</code>
<div class="block">Retains only the elements in this list that are contained in the
specified collection (optional operation).</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#set-int-E-">set</a></span>(int index,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> value)</code>
<div class="block">Replaces the element at the specified position in this list with the
specified element (optional operation).</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#size--">size</a></span>()</code>
<div class="block">Returns the number of elements in this list.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#subList-int-int-">subList</a></span>(int fromIndex,
int toIndex)</code>
<div class="block">Returns a view of the portion of this list between the specified
<tt>fromIndex</tt>, inclusive, and <tt>toIndex</tt>, exclusive.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>java.lang.Object[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#toArray--">toArray</a></span>()</code>
<div class="block">Returns an array containing all of the elements in this list in proper
sequence.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><T> T[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#toArray-T:A-">toArray</a></span>(T[] array)</code>
<div class="block">Returns an array containing all of the elements in this list in proper
sequence; the runtime type of the returned array is that of the
specified array.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../ca/odell/glazedlists/AbstractEventList.html#toString--">toString</a></span>()</code>
<div class="block">Returns a string representation of this collection.</div>
</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, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.ca.odell.glazedlists.EventList">
<!-- -->
</a>
<h3>Methods inherited from interface ca.odell.glazedlists.<a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a></h3>
<code><a href="../../../ca/odell/glazedlists/EventList.html#dispose--">dispose</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
<!-- -->
</a>
<h3>Methods inherited from interface java.util.List</h3>
<code>replaceAll, sort, spliterator</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
<!-- -->
</a>
<h3>Methods inherited from interface java.util.Collection</h3>
<code>parallelStream, removeIf, stream</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
<!-- -->
</a>
<h3>Methods inherited from interface java.lang.Iterable</h3>
<code>forEach</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="updates">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updates</h4>
<pre>protected <a href="../../../ca/odell/glazedlists/event/ListEventAssembler.html" title="class in ca.odell.glazedlists.event">ListEventAssembler</a><<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> updates</pre>
<div class="block">the change event and notification system</div>
</li>
</ul>
<a name="readWriteLock">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readWriteLock</h4>
<pre>protected <a href="../../../ca/odell/glazedlists/util/concurrent/ReadWriteLock.html" title="interface in ca.odell.glazedlists.util.concurrent">ReadWriteLock</a> readWriteLock</pre>
<div class="block">the read/write lock provides mutual exclusion to access</div>
</li>
</ul>
<a name="publisher">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>publisher</h4>
<pre>protected <a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event">ListEventPublisher</a> publisher</pre>
<div class="block">the publisher manages the distribution of changes</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractEventList-ca.odell.glazedlists.event.ListEventPublisher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AbstractEventList</h4>
<pre>protected AbstractEventList(<a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event">ListEventPublisher</a> publisher)</pre>
<div class="block">Creates an <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="class in ca.odell.glazedlists"><code>AbstractEventList</code></a> that sends events using the specified
<a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event"><code>ListEventPublisher</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>publisher</code> - the channel for event distribution. If this is <tt>null</tt>,
then a new <a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event"><code>ListEventPublisher</code></a> will be created.</dd>
</dl>
</li>
</ul>
<a name="AbstractEventList--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractEventList</h4>
<pre>protected AbstractEventList()</pre>
<div class="block">Create an <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="class in ca.odell.glazedlists"><code>AbstractEventList</code></a> that sends events with the default
<a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event"><code>ListEventPublisher</code></a>.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getPublisher--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPublisher</h4>
<pre>public <a href="../../../ca/odell/glazedlists/event/ListEventPublisher.html" title="interface in ca.odell.glazedlists.event">ListEventPublisher</a> getPublisher()</pre>
<div class="block">Get the publisher used to distribute <a href="../../../ca/odell/glazedlists/event/ListEvent.html" title="class in ca.odell.glazedlists.event"><code>ListEvent</code></a>s. It's always defined.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../ca/odell/glazedlists/EventList.html#getPublisher--">getPublisher</a></code> in interface <code><a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a><<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
</dl>
</li>
</ul>
<a name="getReadWriteLock--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadWriteLock</h4>
<pre>public <a href="../../../ca/odell/glazedlists/util/concurrent/ReadWriteLock.html" title="interface in ca.odell.glazedlists.util.concurrent">ReadWriteLock</a> getReadWriteLock()</pre>
<div class="block">Gets the lock required to share this list between multiple threads. It's always defined.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../ca/odell/glazedlists/EventList.html#getReadWriteLock--">getReadWriteLock</a></code> in interface <code><a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a><<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a re-entrant <a href="../../../ca/odell/glazedlists/util/concurrent/ReadWriteLock.html" title="interface in ca.odell.glazedlists.util.concurrent"><code>ReadWriteLock</code></a> that guarantees thread safe
access to this list.</dd>
</dl>
</li>
</ul>
<a name="addListEventListener-ca.odell.glazedlists.event.ListEventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addListEventListener</h4>
<pre>public void addListEventListener(<a href="../../../ca/odell/glazedlists/event/ListEventListener.html" title="interface in ca.odell.glazedlists.event">ListEventListener</a><? super <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> listChangeListener)</pre>
<div class="block">Registers the specified listener to receive change updates for this list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../ca/odell/glazedlists/EventList.html#addListEventListener-ca.odell.glazedlists.event.ListEventListener-">addListEventListener</a></code> in interface <code><a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a><<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listChangeListener</code> - event listener != null</dd>
</dl>
</li>
</ul>
<a name="removeListEventListener-ca.odell.glazedlists.event.ListEventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeListEventListener</h4>
<pre>public void removeListEventListener(<a href="../../../ca/odell/glazedlists/event/ListEventListener.html" title="interface in ca.odell.glazedlists.event">ListEventListener</a><? super <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> listChangeListener)</pre>
<div class="block">Removes the specified listener from receiving change updates for this list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../ca/odell/glazedlists/EventList.html#removeListEventListener-ca.odell.glazedlists.event.ListEventListener-">removeListEventListener</a></code> in interface <code><a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists">EventList</a><<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listChangeListener</code> - event listener != null</dd>
</dl>
</li>
</ul>
<a name="size--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public abstract int size()</pre>
<div class="block">Returns the number of elements in this list. If this list contains
more than <tt>Integer.MAX_VALUE</tt> elements, returns
<tt>Integer.MAX_VALUE</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>size</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>size</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of elements in this list.</dd>
</dl>
</li>
</ul>
<a name="isEmpty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public boolean isEmpty()</pre>
<div class="block">Returns <tt>true</tt> if this list contains no elements.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>isEmpty</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>isEmpty</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list contains no elements.</dd>
</dl>
</li>
</ul>
<a name="contains-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public boolean contains(java.lang.Object object)</pre>
<div class="block">Returns <tt>true</tt> if this list contains the specified element.
More formally, returns <tt>true</tt> if and only if this list contains
at least one element <tt>e</tt> such that
<tt>(o==null ? e==null : o.equals(e))</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>contains</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>contains</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - element whose presence in this list is to be tested.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list contains the specified element.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassCastException</code> - if the type of the specified element
is incompatible with this list (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and this
list does not support null elements (optional).</dd>
</dl>
</li>
</ul>
<a name="iterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>public java.util.Iterator<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> iterator()</pre>
<div class="block">Returns an iterator over the elements in this list in proper sequence.
<p>The returned <code>Iterator</code> will become inconsistent if the
<a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a> that it views is modified. To overcome this problem,
use <a href="../../../ca/odell/glazedlists/AbstractEventList.html#listIterator--"><code>listIterator()</code></a>. When used concurrently, the returned
<code>Iterator</code> requires locking via this list's
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#getReadWriteLock--"><code>ReadWriteLock</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>iterator</code> in interface <code>java.lang.Iterable<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>iterator</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>iterator</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an iterator over the elements in this list in proper sequence.</dd>
</dl>
</li>
</ul>
<a name="toArray--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toArray</h4>
<pre>public java.lang.Object[] toArray()</pre>
<div class="block">Returns an array containing all of the elements in this list in proper
sequence. Obeys the general contract of the
<tt>Collection.toArray</tt> method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>toArray</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>toArray</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing all of the elements in this list in proper
sequence.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Arrays.asList(T...)</code></dd>
</dl>
</li>
</ul>
<a name="toArray-java.lang.Object:A-">
<!-- -->
</a><a name="toArray-T:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toArray</h4>
<pre>public <T> T[] toArray(T[] array)</pre>
<div class="block">Returns an array containing all of the elements in this list in proper
sequence; the runtime type of the returned array is that of the
specified array. Obeys the general contract of the
<tt>Collection.toArray(Object[])</tt> method.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>toArray</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>toArray</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>array</code> - the array into which the elements of this list are to
be stored, if it is big enough; otherwise, a new array of the
same runtime type is allocated for this purpose.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the elements of this list.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ArrayStoreException</code> - if the runtime type of the specified array
is not a supertype of the runtime type of every element in
this list.</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified array is <tt>null</tt>.</dd>
</dl>
</li>
</ul>
<a name="add-java.lang.Object-">
<!-- -->
</a><a name="add-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public boolean add(<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> value)</pre>
<div class="block">Appends the specified element to the end of this list (optional
operation).
<p>Lists that support this operation may place limitations on what
elements may be added to this list. In particular, some
lists will refuse to add null elements, and others will impose
restrictions on the type of elements that may be added. List
classes should clearly specify in their documentation any restrictions
on what elements may be added.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>add</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>add</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - element to be appended to this list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> (as per the general contract of the
<tt>Collection.add</tt> method).</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>add</tt> method is not
supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the class of the specified element
prevents it from being added to this list.</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and this
list does not support null elements.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if some aspect of this element
prevents it from being added to this list.</dd>
</dl>
</li>
</ul>
<a name="remove-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public boolean remove(java.lang.Object toRemove)</pre>
<div class="block">Removes the first occurrence in this list of the specified element
(optional operation). If this list does not contain the element, it is
unchanged. More formally, removes the element with the lowest index i
such that <tt>(o==null ? get(i)==null : o.equals(get(i)))</tt> (if
such an element exists).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>remove</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>remove</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>toRemove</code> - element to be removed from this list, if present.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list contained the specified element.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassCastException</code> - if the type of the specified element
is incompatible with this list (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and this
list does not support null elements (optional).</dd>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>remove</tt> method is
not supported by this list.</dd>
</dl>
</li>
</ul>
<a name="containsAll-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsAll</h4>
<pre>public boolean containsAll(java.util.Collection<?> values)</pre>
<div class="block">Returns <tt>true</tt> if this list contains all of the elements of the
specified collection.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>containsAll</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>containsAll</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>values</code> - collection to be checked for containment in this list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list contains all of the elements of the
specified collection.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassCastException</code> - if the types of one or more elements
in the specified collection are incompatible with this
list (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified collection contains one
or more null elements and this list does not support null
elements (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified collection is
<tt>null</tt>.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../ca/odell/glazedlists/AbstractEventList.html#contains-java.lang.Object-"><code>contains(Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="addAll-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public boolean addAll(java.util.Collection<? extends <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> values)</pre>
<div class="block">Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the specified
collection's iterator (optional operation). The behavior of this
operation is unspecified if the specified collection is modified while
the operation is in progress. (Note that this will occur if the
specified collection is this list, and it's nonempty.)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>addAll</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>addAll</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>values</code> - collection whose elements are to be added to this list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list changed as a result of the call.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>addAll</tt> method is
not supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the class of an element in the specified
collection prevents it from being added to this list.</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified collection contains one
or more null elements and this list does not support null
elements, or if the specified collection is <tt>null</tt>.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if some aspect of an element in the
specified collection prevents it from being added to this
list.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../ca/odell/glazedlists/AbstractEventList.html#add-E-"><code>add(Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="addAll-int-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public boolean addAll(int index,
java.util.Collection<? extends <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> values)</pre>
<div class="block">Inserts all of the elements in the specified collection into this
list at the specified position (optional operation). Shifts the
element currently at that position (if any) and any subsequent
elements to the right (increases their indices). The new elements
will appear in this list in the order that they are returned by the
specified collection's iterator. The behavior of this operation is
unspecified if the specified collection is modified while the
operation is in progress. (Note that this will occur if the specified
collection is this list, and it's nonempty.)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>addAll</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - index at which to insert first element from the specified
collection.</dd>
<dd><code>values</code> - elements to be inserted into this list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list changed as a result of the call.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>addAll</tt> method is
not supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the class of one of elements of the
specified collection prevents it from being added to this
list.</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified collection contains one
or more null elements and this list does not support null
elements, or if the specified collection is <tt>null</tt>.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if some aspect of one of elements of
the specified collection prevents it from being added to
this list.</dd>
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the index is out of range (index
< 0 || index > size()).</dd>
</dl>
</li>
</ul>
<a name="removeAll-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public boolean removeAll(java.util.Collection<?> values)</pre>
<div class="block">Removes from this list all the elements that are contained in the
specified collection (optional operation).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>removeAll</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>removeAll</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>values</code> - collection that defines which elements will be removed from
this list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list changed as a result of the call.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>removeAll</tt> method
is not supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the types of one or more elements
in this list are incompatible with the specified
collection (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if this list contains one or more
null elements and the specified collection does not support
null elements (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified collection is
<tt>null</tt>.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../ca/odell/glazedlists/AbstractEventList.html#remove-java.lang.Object-"><code>remove(Object)</code></a>,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#contains-java.lang.Object-"><code>contains(Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="retainAll-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retainAll</h4>
<pre>public boolean retainAll(java.util.Collection<?> values)</pre>
<div class="block">Retains only the elements in this list that are contained in the
specified collection (optional operation). In other words, removes
from this list all the elements that are not contained in the specified
collection.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>retainAll</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>retainAll</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>values</code> - collection that defines which elements this set will retain.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if this list changed as a result of the call.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>retainAll</tt> method
is not supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the types of one or more elements
in this list are incompatible with the specified
collection (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if this list contains one or more
null elements and the specified collection does not support
null elements (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified collection is
<tt>null</tt>.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../ca/odell/glazedlists/AbstractEventList.html#remove-java.lang.Object-"><code>remove(Object)</code></a>,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#contains-java.lang.Object-"><code>contains(Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="clear--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public void clear()</pre>
<div class="block">Removes all of the elements from this list (optional operation). This
list will be empty after this call returns (unless it throws an
exception).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>clear</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>clear</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>clear</tt> method is
not supported by this list.</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public boolean equals(java.lang.Object object)</pre>
<div class="block">Compares the specified object with this list for equality. Returns
<tt>true</tt> if and only if the specified object is also a list, both
lists have the same size, and all corresponding pairs of elements in
the two lists are <i>equal</i>. (Two elements <tt>e1</tt> and
<tt>e2</tt> are <i>equal</i> if <tt>(e1==null ? e2==null :
e1.equals(e2))</tt>.) In other words, two lists are defined to be
equal if they contain the same elements in the same order. This
definition ensures that the equals method works properly across
different implementations of the <tt>List</tt> interface.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>equals</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>equals</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code> in class <code>java.lang.Object</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - the object to be compared for equality with this list.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the specified object is equal to this list.</dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public int hashCode()</pre>
<div class="block">Returns the hash code value for this list. The hash code of a list
is defined to be the result of the following calculation:
<pre>
hashCode = 1;
Iterator i = list.iterator();
while (i.hasNext()) {
Object obj = i.next();
hashCode = 31*hashCode + (obj==null ? 0 : obj.hashCode());
}
</pre>
This ensures that <tt>list1.equals(list2)</tt> implies that
<tt>list1.hashCode()==list2.hashCode()</tt> for any two lists,
<tt>list1</tt> and <tt>list2</tt>, as required by the general
contract of <tt>Object.hashCode</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>hashCode</code> in interface <code>java.util.Collection<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>hashCode</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the hash code value for this list.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Object.hashCode()</code>,
<code>Object.equals(Object)</code>,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#equals-java.lang.Object-"><code>equals(Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="get-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public abstract <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> get(int index)</pre>
<div class="block">Returns the element at the specified position in this list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>get</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - index of element to return.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the element at the specified position in this list.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the index is out of range (index
< 0 || index >= size()).</dd>
</dl>
</li>
</ul>
<a name="set-int-java.lang.Object-">
<!-- -->
</a><a name="set-int-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> set(int index,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> value)</pre>
<div class="block">Replaces the element at the specified position in this list with the
specified element (optional operation).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>set</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - index of element to replace.</dd>
<dd><code>value</code> - element to be stored at the specified position.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the element previously at the specified position.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>set</tt> method is not
supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the class of the specified element
prevents it from being added to this list.</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and
this list does not support null elements.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if some aspect of the specified
element prevents it from being added to this list.</dd>
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the index is out of range
(index < 0 || index >= size()).</dd>
</dl>
</li>
</ul>
<a name="add-int-java.lang.Object-">
<!-- -->
</a><a name="add-int-E-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public void add(int index,
<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> value)</pre>
<div class="block">Inserts the specified element at the specified position in this list
(optional operation). Shifts the element currently at that position
(if any) and any subsequent elements to the right (adds one to their
indices).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>add</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - index at which the specified element is to be inserted.</dd>
<dd><code>value</code> - element to be inserted.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>add</tt> method is not
supported by this list.</dd>
<dd><code>java.lang.ClassCastException</code> - if the class of the specified element
prevents it from being added to this list.</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and
this list does not support null elements.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - if some aspect of the specified
element prevents it from being added to this list.</dd>
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the index is out of range
(index < 0 || index > size()).</dd>
</dl>
</li>
</ul>
<a name="remove-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public <a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a> remove(int index)</pre>
<div class="block">Removes the element at the specified position in this list (optional
operation). Shifts any subsequent elements to the left (subtracts one
from their indices). Returns the element that was removed from the
list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>remove</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index of the element to removed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the element previously at the specified position.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - if the <tt>remove</tt> method is
not supported by this list.</dd>
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the index is out of range (index
< 0 || index >= size()).</dd>
</dl>
</li>
</ul>
<a name="indexOf-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public int indexOf(java.lang.Object object)</pre>
<div class="block">Returns the index in this list of the first occurrence of the specified
element, or -1 if this list does not contain this element.
More formally, returns the lowest index <tt>i</tt> such that
<tt>(o==null ? get(i)==null : o.equals(get(i)))</tt>,
or -1 if there is no such index.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>indexOf</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - element to search for.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the index in this list of the first occurrence of the specified
element, or -1 if this list does not contain this element.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassCastException</code> - if the type of the specified element
is incompatible with this list (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and this
list does not support null elements (optional).</dd>
</dl>
</li>
</ul>
<a name="lastIndexOf-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public int lastIndexOf(java.lang.Object object)</pre>
<div class="block">Returns the index in this list of the last occurrence of the specified
element, or -1 if this list does not contain this element.
More formally, returns the highest index <tt>i</tt> such that
<tt>(o==null ? get(i)==null : o.equals(get(i)))</tt>,
or -1 if there is no such index.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>lastIndexOf</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - element to search for.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the index in this list of the last occurrence of the specified
element, or -1 if this list does not contain this element.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.ClassCastException</code> - if the type of the specified element
is incompatible with this list (optional).</dd>
<dd><code>java.lang.NullPointerException</code> - if the specified element is null and this
list does not support null elements (optional).</dd>
</dl>
</li>
</ul>
<a name="listIterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listIterator</h4>
<pre>public java.util.ListIterator<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> listIterator()</pre>
<div class="block">Returns a list iterator of the elements in this list (in proper
sequence).
<p>Unlike the <code>ListIterator</code> from a regular <code>List</code>, the
<a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a>'s <code>ListIterator</code> will remain consistent even if the
<a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a> is changed externally. Note that when used concurrently,
the returned <code>ListIterator</code> requires locking via this list's
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#getReadWriteLock--"><code>ReadWriteLock</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>listIterator</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list iterator of the elements in this list (in proper
sequence).</dd>
</dl>
</li>
</ul>
<a name="listIterator-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listIterator</h4>
<pre>public java.util.ListIterator<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> listIterator(int index)</pre>
<div class="block">Returns a list iterator of the elements in this list (in proper
sequence), starting at the specified position in this list. The
specified index indicates the first element that would be returned by
an initial call to the <tt>next</tt> method. An initial call to
the <tt>previous</tt> method would return the element with the
specified index minus one.
<p>Unlike the <code>ListIterator</code> from a regular <code>List</code>, the
<a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a>'s <code>ListIterator</code> will remain consistent even if the
<a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a> is changed externally. Note that when used concurrently,
the returned <code>ListIterator</code> requires locking via this list's
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#getReadWriteLock--"><code>ReadWriteLock</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>listIterator</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - index of first element to be returned from the
list iterator (by a call to the <tt>next</tt> method).</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list iterator of the elements in this list (in proper
sequence), starting at the specified position in this list.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IndexOutOfBoundsException</code> - if the index is out of range (index
< 0 || index > size()).</dd>
</dl>
</li>
</ul>
<a name="subList-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subList</h4>
<pre>public java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>> subList(int fromIndex,
int toIndex)</pre>
<div class="block">Returns a view of the portion of this list between the specified
<tt>fromIndex</tt>, inclusive, and <tt>toIndex</tt>, exclusive. (If
<tt>fromIndex</tt> and <tt>toIndex</tt> are equal, the returned list is
empty.)
<p>Unlike the standard <code>List.subList()</code>
method, the <code>List</code> returned by this method will continue to be
consistent even if the <a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a> it views is modified,
structurally or otherwise. The returned <code>List</code> can always be safely
cast to <a href="../../../ca/odell/glazedlists/EventList.html" title="interface in ca.odell.glazedlists"><code>EventList</code></a>. Note that when used concurrently, the returned
<code>List</code> requires locking via this list's
<a href="../../../ca/odell/glazedlists/AbstractEventList.html#getReadWriteLock--"><code>ReadWriteLock</code></a>.
<p>This method eliminates the need for explicit range operations (of
the sort that commonly exist for arrays). Any operation that expects
a list can be used as a range operation by passing a subList view
instead of a whole list. For example, the following idiom
removes a range of elements from a list:
<pre>
list.subList(from, to).clear();
</pre>
Similar idioms may be constructed for <tt>indexOf</tt> and
<tt>lastIndexOf</tt>, and all of the algorithms in the
<tt>Collections</tt> class can be applied to a subList.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>subList</code> in interface <code>java.util.List<<a href="../../../ca/odell/glazedlists/AbstractEventList.html" title="type parameter in AbstractEventList">E</a>></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fromIndex</code> - low endpoint (inclusive) of the subList.</dd>
<dd><code>toIndex</code> - high endpoint (exclusive) of the subList.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a view of the specified range within this list.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IndexOutOfBoundsException</code> - for an illegal endpoint index value
(fromIndex < 0 || toIndex > size || fromIndex > toIndex).</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public java.lang.String toString()</pre>
<div class="block">Returns a string representation of this collection. The string
representation consists of a list of the collection's elements in the
order they are returned by its iterator, enclosed in square brackets
(<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space). Elements are converted to strings as
by <tt>String.valueOf(Object)</tt>.
<p>This implementation creates an empty string buffer, appends a left
square bracket, and iterates over the collection appending the string
representation of each element in turn. After appending each element
except the last, the string <tt>", "</tt> is appended. Finally a right
bracket is appended. A string is obtained from the string buffer, and
returned.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of this collection.</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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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="class-use/AbstractEventList.html">Use</a></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>Prev Class</li>
<li><a href="../../../ca/odell/glazedlists/BasicEventList.html" title="class in ca.odell.glazedlists"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?ca/odell/glazedlists/AbstractEventList.html" target="_top">Frames</a></li>
<li><a href="AbstractEventList.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>Nested | </li>
<li><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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 ======= -->
<p class="legalCopy"><small><a href="http://www.glazedlists.com" target="_top">Glazed Lists</a>, Copyright © 2003 publicobject.com, O'Dell Engineering.<br>Documentation build by buildd at 2016-02-14 5:12</small></p>
</body>
</html>
|