/usr/share/doc/libhamcrest-java/api/org/hamcrest/class-use/Factory.html is in libhamcrest-java-doc 1.3-5ubuntu1.
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 | <!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_55) on Mon May 19 11:02:42 UTC 2014 -->
<title>Uses of Class org.hamcrest.Factory (Hamcrest)</title>
<meta name="date" content="2014-05-19">
<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="Uses of Class org.hamcrest.Factory (Hamcrest)";
}
//-->
</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><a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Class</a></li>
<li class="navBarCell1Rev">Use</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</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/hamcrest/class-use/Factory.html" target="_top">Frames</a></li>
<li><a href="Factory.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>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.hamcrest.Factory" class="title">Uses of Class<br>org.hamcrest.Factory</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.hamcrest.beans">org.hamcrest.beans</a></td>
<td class="colLast">
<div class="block">Matchers of Java Bean properties and their values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.hamcrest.collection">org.hamcrest.collection</a></td>
<td class="colLast">
<div class="block">Matchers of arrays and collections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.hamcrest.core">org.hamcrest.core</a></td>
<td class="colLast">
<div class="block">Fundamental matchers of objects and values, and composite matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.hamcrest.number">org.hamcrest.number</a></td>
<td class="colLast">
<div class="block">Matchers that perform numeric comparisons.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.hamcrest.object">org.hamcrest.object</a></td>
<td class="colLast">
<div class="block">Matchers that inspect objects and classes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.hamcrest.text">org.hamcrest.text</a></td>
<td class="colLast">
<div class="block">Matchers that perform text comparisons.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.hamcrest.xml">org.hamcrest.xml</a></td>
<td class="colLast">
<div class="block">Matchers of XML documents.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.hamcrest.beans">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/beans/package-summary.html">org.hamcrest.beans</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/beans/package-summary.html">org.hamcrest.beans</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">HasProperty.</span><code><strong><a href="../../../org/hamcrest/beans/HasProperty.html#hasProperty(java.lang.String)">hasProperty</a></strong>(java.lang.String propertyName)</code>
<div class="block">Creates a matcher that matches when the examined object has a JavaBean property
with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">HasPropertyWithValue.</span><code><strong><a href="../../../org/hamcrest/beans/HasPropertyWithValue.html#hasProperty(java.lang.String, org.hamcrest.Matcher)">hasProperty</a></strong>(java.lang.String propertyName,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><?> valueMatcher)</code>
<div class="block">Creates a matcher that matches when the examined object has a JavaBean property
with the specified name whose value satisfies the specified matcher.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">SamePropertyValuesAs.</span><code><strong><a href="../../../org/hamcrest/beans/SamePropertyValuesAs.html#samePropertyValuesAs(T)">samePropertyValuesAs</a></strong>(T expectedBean)</code>
<div class="block">Creates a matcher that matches when the examined object has values for all of
its JavaBean properties that are equal to the corresponding values of the
specified bean.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.hamcrest.collection">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/collection/package-summary.html">org.hamcrest.collection</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/collection/package-summary.html">org.hamcrest.collection</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/collection/IsArray.html" title="class in org.hamcrest.collection">IsArray</a><T></code></td>
<td class="colLast"><span class="strong">IsArray.</span><code><strong><a href="../../../org/hamcrest/collection/IsArray.html#array(org.hamcrest.Matcher...)">array</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>... elementMatchers)</code>
<div class="block">Creates a matcher that matches arrays whose elements are satisfied by the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContainingInOrder.html#arrayContaining(E...)">arrayContaining</a></strong>(E... items)</code>
<div class="block">Creates a matcher for arrays that matcheswhen each item in the examined array is
logically equal to the corresponding item in the specified items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContainingInOrder.html#arrayContaining(java.util.List)">arrayContaining</a></strong>(java.util.List<<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E>> itemMatchers)</code>
<div class="block">Creates a matcher for arrays that matches when each item in the examined array satisfies the
corresponding matcher in the specified list of matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContainingInOrder.html#arrayContaining(org.hamcrest.Matcher...)">arrayContaining</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E>... itemMatchers)</code>
<div class="block">Creates a matcher for arrays that matches when each item in the examined array satisfies the
corresponding matcher in the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContainingInAnyOrder.html#arrayContainingInAnyOrder(java.util.Collection)">arrayContainingInAnyOrder</a></strong>(java.util.Collection<<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E>> itemMatchers)</code>
<div class="block">Creates an order agnostic matcher for arrays that matches when each item in the
examined array satisfies one matcher anywhere in the specified collection of matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContainingInAnyOrder.html#arrayContainingInAnyOrder(E...)">arrayContainingInAnyOrder</a></strong>(E... items)</code>
<div class="block">Creates an order agnostic matcher for arrays that matches when each item in the
examined array is logically equal to one item anywhere in the specified items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContainingInAnyOrder.html#arrayContainingInAnyOrder(org.hamcrest.Matcher...)">arrayContainingInAnyOrder</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E>... itemMatchers)</code>
<div class="block">Creates an order agnostic matcher for arrays that matches when each item in the
examined array satisfies one matcher anywhere in the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayWithSize.html#arrayWithSize(int)">arrayWithSize</a></strong>(int size)</code>
<div class="block">Creates a matcher for arrays that matches when the <code>length</code> of the array
equals the specified <code>size</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayWithSize.html#arrayWithSize(org.hamcrest.Matcher)">arrayWithSize</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super java.lang.Integer> sizeMatcher)</code>
<div class="block">Creates a matcher for arrays that matches when the <code>length</code> of the array
satisfies the specified matcher.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends E>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInOrder.html#contains(E...)">contains</a></strong>(E... items)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when a single pass over the
examined <code>Iterable</code> yields a series of items, each logically equal to the
corresponding item in the specified items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends E>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInOrder.html#contains(java.util.List)">contains</a></strong>(java.util.List<<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E>> itemMatchers)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when a single pass over the
examined <code>Iterable</code> yields a series of items, each satisfying the corresponding
matcher in the specified list of matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends E>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInOrder.html#contains(org.hamcrest.Matcher...)">contains</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E>... itemMatchers)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when a single pass over the
examined <code>Iterable</code> yields a series of items, each satisfying the corresponding
matcher in the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends E>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInOrder.html#contains(org.hamcrest.Matcher)">contains</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E> itemMatcher)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when a single pass over the
examined <code>Iterable</code> yields a single item that satisfies the specified matcher.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends T>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInAnyOrder.html#containsInAnyOrder(java.util.Collection)">containsInAnyOrder</a></strong>(java.util.Collection<<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>> itemMatchers)</code>
<div class="block">Creates an order agnostic matcher for <code>Iterable</code>s that matches when a single pass over
the examined <code>Iterable</code> yields a series of items, each satisfying one matcher anywhere
in the specified collection of matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends E>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInAnyOrder.html#containsInAnyOrder(org.hamcrest.Matcher)">containsInAnyOrder</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super E> itemMatcher)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>use contains(Matcher<? super E> itemMatcher) instead</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends T>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInAnyOrder.html#containsInAnyOrder(org.hamcrest.Matcher...)">containsInAnyOrder</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>... itemMatchers)</code>
<div class="block">Creates an order agnostic matcher for <code>Iterable</code>s that matches when a single pass over
the examined <code>Iterable</code> yields a series of items, each satisfying one matcher anywhere
in the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends T>></code></td>
<td class="colLast"><span class="strong">IsIterableContainingInAnyOrder.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableContainingInAnyOrder.html#containsInAnyOrder(T...)">containsInAnyOrder</a></strong>(T... items)</code>
<div class="block">Creates an order agnostic matcher for <code>Iterable</code>s that matches when a single pass over
the examined <code>Iterable</code> yields a series of items, each logically equal to one item
anywhere in the specified items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Collection<? extends E>></code></td>
<td class="colLast"><span class="strong">IsEmptyCollection.</span><code><strong><a href="../../../org/hamcrest/collection/IsEmptyCollection.html#empty()">empty</a></strong>()</code>
<div class="block">Creates a matcher for <code>Collection</code>s matching examined collections whose <code>isEmpty</code>
method returns <code>true</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><E[]></code></td>
<td class="colLast"><span class="strong">IsArrayWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayWithSize.html#emptyArray()">emptyArray</a></strong>()</code>
<div class="block">Creates a matcher for arrays that matches when the <code>length</code> of the array
is zero.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Collection<E>></code></td>
<td class="colLast"><span class="strong">IsEmptyCollection.</span><code><strong><a href="../../../org/hamcrest/collection/IsEmptyCollection.html#emptyCollectionOf(java.lang.Class)">emptyCollectionOf</a></strong>(java.lang.Class<E> type)</code>
<div class="block">Creates a matcher for <code>Collection</code>s matching examined collections whose <code>isEmpty</code>
method returns <code>true</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? extends E>></code></td>
<td class="colLast"><span class="strong">IsEmptyIterable.</span><code><strong><a href="../../../org/hamcrest/collection/IsEmptyIterable.html#emptyIterable()">emptyIterable</a></strong>()</code>
<div class="block">Creates a matcher for <code>Iterable</code>s matching examined iterables that yield no items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<E>></code></td>
<td class="colLast"><span class="strong">IsEmptyIterable.</span><code><strong><a href="../../../org/hamcrest/collection/IsEmptyIterable.html#emptyIterableOf(java.lang.Class)">emptyIterableOf</a></strong>(java.lang.Class<E> type)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s matching examined iterables that yield no items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <K,V> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Map<? extends K,? extends V>></code></td>
<td class="colLast"><span class="strong">IsMapContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsMapContaining.html#hasEntry(K, V)">hasEntry</a></strong>(K key,
V value)</code>
<div class="block">Creates a matcher for <code>Map</code>s matching when the examined <code>Map</code> contains
at least one entry whose key equals the specified <code>key</code> <b>and</b> whose value equals the
specified <code>value</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <K,V> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Map<? extends K,? extends V>></code></td>
<td class="colLast"><span class="strong">IsMapContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsMapContaining.html#hasEntry(org.hamcrest.Matcher, org.hamcrest.Matcher)">hasEntry</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super K> keyMatcher,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super V> valueMatcher)</code>
<div class="block">Creates a matcher for <code>Map</code>s matching when the examined <code>Map</code> contains
at least one entry whose key satisfies the specified <code>keyMatcher</code> <b>and</b> whose
value satisfies the specified <code>valueMatcher</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T[]></code></td>
<td class="colLast"><span class="strong">IsArrayContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContaining.html#hasItemInArray(org.hamcrest.Matcher)">hasItemInArray</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> elementMatcher)</code>
<div class="block">Creates a matcher for arrays that matches when the examined array contains at least one item
that is matched by the specified <code>elementMatcher</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T[]></code></td>
<td class="colLast"><span class="strong">IsArrayContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsArrayContaining.html#hasItemInArray(T)">hasItemInArray</a></strong>(T element)</code>
<div class="block">A shortcut to the frequently used <code>hasItemInArray(equalTo(x))</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <K> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Map<? extends K,?>></code></td>
<td class="colLast"><span class="strong">IsMapContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsMapContaining.html#hasKey(K)">hasKey</a></strong>(K key)</code>
<div class="block">Creates a matcher for <code>Map</code>s matching when the examined <code>Map</code> contains
at least one key that is equal to the specified key.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <K> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Map<? extends K,?>></code></td>
<td class="colLast"><span class="strong">IsMapContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsMapContaining.html#hasKey(org.hamcrest.Matcher)">hasKey</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super K> keyMatcher)</code>
<div class="block">Creates a matcher for <code>Map</code>s matching when the examined <code>Map</code> contains
at least one key that satisfies the specified matcher.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Collection<? extends E>></code></td>
<td class="colLast"><span class="strong">IsCollectionWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsCollectionWithSize.html#hasSize(int)">hasSize</a></strong>(int size)</code>
<div class="block">Creates a matcher for <code>Collection</code>s that matches when the <code>size()</code> method returns
a value equal to the specified <code>size</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Collection<? extends E>></code></td>
<td class="colLast"><span class="strong">IsCollectionWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsCollectionWithSize.html#hasSize(org.hamcrest.Matcher)">hasSize</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super java.lang.Integer> sizeMatcher)</code>
<div class="block">Creates a matcher for <code>Collection</code>s that matches when the <code>size()</code> method returns
a value that satisfies the specified matcher.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <V> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Map<?,? extends V>></code></td>
<td class="colLast"><span class="strong">IsMapContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsMapContaining.html#hasValue(org.hamcrest.Matcher)">hasValue</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super V> valueMatcher)</code>
<div class="block">Creates a matcher for <code>Map</code>s matching when the examined <code>Map</code> contains
at least one value that satisfies the specified valueMatcher.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <V> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.Map<?,? extends V>></code></td>
<td class="colLast"><span class="strong">IsMapContaining.</span><code><strong><a href="../../../org/hamcrest/collection/IsMapContaining.html#hasValue(V)">hasValue</a></strong>(V value)</code>
<div class="block">Creates a matcher for <code>Map</code>s matching when the examined <code>Map</code> contains
at least one value that is equal to the specified value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsIn.</span><code><strong><a href="../../../org/hamcrest/collection/IsIn.html#isIn(java.util.Collection)">isIn</a></strong>(java.util.Collection<T> collection)</code>
<div class="block">Creates a matcher that matches when the examined object is found within the
specified collection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsIn.</span><code><strong><a href="../../../org/hamcrest/collection/IsIn.html#isIn(T[])">isIn</a></strong>(T[] elements)</code>
<div class="block">Creates a matcher that matches when the examined object is found within the
specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsIn.</span><code><strong><a href="../../../org/hamcrest/collection/IsIn.html#isOneOf(T...)">isOneOf</a></strong>(T... elements)</code>
<div class="block">Creates a matcher that matches when the examined object is equal to one of the
specified elements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<E>></code></td>
<td class="colLast"><span class="strong">IsIterableWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableWithSize.html#iterableWithSize(int)">iterableWithSize</a></strong>(int size)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when a single pass over the
examined <code>Iterable</code> yields an item count that is equal to the specified
<code>size</code> argument.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <E> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<E>></code></td>
<td class="colLast"><span class="strong">IsIterableWithSize.</span><code><strong><a href="../../../org/hamcrest/collection/IsIterableWithSize.html#iterableWithSize(org.hamcrest.Matcher)">iterableWithSize</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super java.lang.Integer> sizeMatcher)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when a single pass over the
examined <code>Iterable</code> yields an item count that satisfies the specified
matcher.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.hamcrest.core">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/core/package-summary.html">org.hamcrest.core</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/core/package-summary.html">org.hamcrest.core</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(java.lang.Iterable)">allOf</a></strong>(java.lang.Iterable<<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>> matchers)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(org.hamcrest.Matcher...)">allOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>... matchers)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(org.hamcrest.Matcher, org.hamcrest.Matcher)">allOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">allOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">allOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fourth)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">allOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fourth,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fifth)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">AllOf.</span><code><strong><a href="../../../org/hamcrest/core/AllOf.html#allOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">allOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fourth,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fifth,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> sixth)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsInstanceOf.</span><code><strong><a href="../../../org/hamcrest/core/IsInstanceOf.html#any(java.lang.Class)">any</a></strong>(java.lang.Class<T> type)</code>
<div class="block">Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>,
as determined by calling the <code>Class.isInstance(Object)</code> method on that type, passing the
the examined object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(java.lang.Iterable)">anyOf</a></strong>(java.lang.Iterable<<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>> matchers)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(org.hamcrest.Matcher...)">anyOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>... matchers)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(org.hamcrest.Matcher, org.hamcrest.Matcher)">anyOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">anyOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">anyOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fourth)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">anyOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fourth,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fifth)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core">AnyOf</a><T></code></td>
<td class="colLast"><span class="strong">AnyOf.</span><code><strong><a href="../../../org/hamcrest/core/AnyOf.html#anyOf(org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher)">anyOf</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> first,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> second,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> third,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fourth,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> fifth,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> sixth)</code>
<div class="block">Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Object></code></td>
<td class="colLast"><span class="strong">IsAnything.</span><code><strong><a href="../../../org/hamcrest/core/IsAnything.html#anything()">anything</a></strong>()</code>
<div class="block">Creates a matcher that always matches, regardless of the examined object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Object></code></td>
<td class="colLast"><span class="strong">IsAnything.</span><code><strong><a href="../../../org/hamcrest/core/IsAnything.html#anything(java.lang.String)">anything</a></strong>(java.lang.String description)</code>
<div class="block">Creates a matcher that always matches, regardless of the examined object, but describes
itself with the specified <code>String</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <LHS> <a href="../../../org/hamcrest/core/CombinableMatcher.CombinableBothMatcher.html" title="class in org.hamcrest.core">CombinableMatcher.CombinableBothMatcher</a><LHS></code></td>
<td class="colLast"><span class="strong">CombinableMatcher.</span><code><strong><a href="../../../org/hamcrest/core/CombinableMatcher.html#both(org.hamcrest.Matcher)">both</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super LHS> matcher)</code>
<div class="block">Creates a matcher that matches when both of the specified matchers match the examined object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">StringContains.</span><code><strong><a href="../../../org/hamcrest/core/StringContains.html#containsString(java.lang.String)">containsString</a></strong>(java.lang.String substring)</code>
<div class="block">Creates a matcher that matches if the examined <code>String</code> contains the specified
<code>String</code> anywhere.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">DescribedAs.</span><code><strong><a href="../../../org/hamcrest/core/DescribedAs.html#describedAs(java.lang.String, org.hamcrest.Matcher, java.lang.Object...)">describedAs</a></strong>(java.lang.String description,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> matcher,
java.lang.Object... values)</code>
<div class="block">Wraps an existing matcher, overriding its description with that specified.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <LHS> <a href="../../../org/hamcrest/core/CombinableMatcher.CombinableEitherMatcher.html" title="class in org.hamcrest.core">CombinableMatcher.CombinableEitherMatcher</a><LHS></code></td>
<td class="colLast"><span class="strong">CombinableMatcher.</span><code><strong><a href="../../../org/hamcrest/core/CombinableMatcher.html#either(org.hamcrest.Matcher)">either</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super LHS> matcher)</code>
<div class="block">Creates a matcher that matches when either of the specified matchers match the examined object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">StringEndsWith.</span><code><strong><a href="../../../org/hamcrest/core/StringEndsWith.html#endsWith(java.lang.String)">endsWith</a></strong>(java.lang.String suffix)</code>
<div class="block">Creates a matcher that matches if the examined <code>String</code> ends with the specified
<code>String</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsEqual.</span><code><strong><a href="../../../org/hamcrest/core/IsEqual.html#equalTo(T)">equalTo</a></strong>(T operand)</code>
<div class="block">Creates a matcher that matches when the examined object is logically equal to the specified
<code>operand</code>, as determined by calling the <code>Object.equals(java.lang.Object)</code> method on
the <b>examined</b> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <U> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<U>></code></td>
<td class="colLast"><span class="strong">Every.</span><code><strong><a href="../../../org/hamcrest/core/Every.html#everyItem(org.hamcrest.Matcher)">everyItem</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><U> itemMatcher)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that only matches when a single pass over the
examined <code>Iterable</code> yields items that are all matched by the specified
<code>itemMatcher</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? super T>></code></td>
<td class="colLast"><span class="strong">IsCollectionContaining.</span><code><strong><a href="../../../org/hamcrest/core/IsCollectionContaining.html#hasItem(org.hamcrest.Matcher)">hasItem</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T> itemMatcher)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that only matches when a single pass over the
examined <code>Iterable</code> yields at least one item that is matched by the specified
<code>itemMatcher</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<? super T>></code></td>
<td class="colLast"><span class="strong">IsCollectionContaining.</span><code><strong><a href="../../../org/hamcrest/core/IsCollectionContaining.html#hasItem(T)">hasItem</a></strong>(T item)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that only matches when a single pass over the
examined <code>Iterable</code> yields at least one item that is equal to the specified
<code>item</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<T>></code></td>
<td class="colLast"><span class="strong">IsCollectionContaining.</span><code><strong><a href="../../../org/hamcrest/core/IsCollectionContaining.html#hasItems(org.hamcrest.Matcher...)">hasItems</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super T>... itemMatchers)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when consecutive passes over the
examined <code>Iterable</code> yield at least one item that is matched by the corresponding
matcher from the specified <code>itemMatchers</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Iterable<T>></code></td>
<td class="colLast"><span class="strong">IsCollectionContaining.</span><code><strong><a href="../../../org/hamcrest/core/IsCollectionContaining.html#hasItems(T...)">hasItems</a></strong>(T... items)</code>
<div class="block">Creates a matcher for <code>Iterable</code>s that matches when consecutive passes over the
examined <code>Iterable</code> yield at least one item that is equal to the corresponding
item from the specified <code>items</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsInstanceOf.</span><code><strong><a href="../../../org/hamcrest/core/IsInstanceOf.html#instanceOf(java.lang.Class)">instanceOf</a></strong>(java.lang.Class<?> type)</code>
<div class="block">Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>,
as determined by calling the <code>Class.isInstance(Object)</code> method on that type, passing the
the examined object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">Is.</span><code><strong><a href="../../../org/hamcrest/core/Is.html#is(java.lang.Class)">is</a></strong>(java.lang.Class<T> type)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>use isA(Class<T> type) instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">Is.</span><code><strong><a href="../../../org/hamcrest/core/Is.html#is(org.hamcrest.Matcher)">is</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> matcher)</code>
<div class="block">Decorates another Matcher, retaining its behaviour, but allowing tests
to be slightly more expressive.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">Is.</span><code><strong><a href="../../../org/hamcrest/core/Is.html#is(T)">is</a></strong>(T value)</code>
<div class="block">A shortcut to the frequently used <code>is(equalTo(x))</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">Is.</span><code><strong><a href="../../../org/hamcrest/core/Is.html#isA(java.lang.Class)">isA</a></strong>(java.lang.Class<T> type)</code>
<div class="block">A shortcut to the frequently used <code>is(instanceOf(SomeClass.class))</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsNot.</span><code><strong><a href="../../../org/hamcrest/core/IsNot.html#not(org.hamcrest.Matcher)">not</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T> matcher)</code>
<div class="block">Creates a matcher that wraps an existing matcher, but inverts the logic by which
it will match.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsNot.</span><code><strong><a href="../../../org/hamcrest/core/IsNot.html#not(T)">not</a></strong>(T value)</code>
<div class="block">A shortcut to the frequently used <code>not(equalTo(x))</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Object></code></td>
<td class="colLast"><span class="strong">IsNull.</span><code><strong><a href="../../../org/hamcrest/core/IsNull.html#notNullValue()">notNullValue</a></strong>()</code>
<div class="block">A shortcut to the frequently used <code>not(nullValue())</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsNull.</span><code><strong><a href="../../../org/hamcrest/core/IsNull.html#notNullValue(java.lang.Class)">notNullValue</a></strong>(java.lang.Class<T> type)</code>
<div class="block">A shortcut to the frequently used <code>not(nullValue(X.class)).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Object></code></td>
<td class="colLast"><span class="strong">IsNull.</span><code><strong><a href="../../../org/hamcrest/core/IsNull.html#nullValue()">nullValue</a></strong>()</code>
<div class="block">Creates a matcher that matches if examined object is <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsNull.</span><code><strong><a href="../../../org/hamcrest/core/IsNull.html#nullValue(java.lang.Class)">nullValue</a></strong>(java.lang.Class<T> type)</code>
<div class="block">Creates a matcher that matches if examined object is <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsSame.</span><code><strong><a href="../../../org/hamcrest/core/IsSame.html#sameInstance(T)">sameInstance</a></strong>(T target)</code>
<div class="block">Creates a matcher that matches only when the examined object is the same instance as
the specified target object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">StringStartsWith.</span><code><strong><a href="../../../org/hamcrest/core/StringStartsWith.html#startsWith(java.lang.String)">startsWith</a></strong>(java.lang.String prefix)</code>
<div class="block">Creates a matcher that matches if the examined <code>String</code> starts with the specified
<code>String</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">IsSame.</span><code><strong><a href="../../../org/hamcrest/core/IsSame.html#theInstance(T)">theInstance</a></strong>(T target)</code>
<div class="block">Creates a matcher that matches only when the examined object is the same instance as
the specified target object.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.hamcrest.number">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/number/package-summary.html">org.hamcrest.number</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/number/package-summary.html">org.hamcrest.number</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.math.BigDecimal></code></td>
<td class="colLast"><span class="strong">BigDecimalCloseTo.</span><code><strong><a href="../../../org/hamcrest/number/BigDecimalCloseTo.html#closeTo(java.math.BigDecimal, java.math.BigDecimal)">closeTo</a></strong>(java.math.BigDecimal operand,
java.math.BigDecimal error)</code>
<div class="block">Creates a matcher of <code>BigDecimal</code>s that matches when an examined BigDecimal is equal
to the specified <code>operand</code>, within a range of +/- <code>error</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Double></code></td>
<td class="colLast"><span class="strong">IsCloseTo.</span><code><strong><a href="../../../org/hamcrest/number/IsCloseTo.html#closeTo(double, double)">closeTo</a></strong>(double operand,
double error)</code>
<div class="block">Creates a matcher of <code>Double</code>s that matches when an examined double is equal
to the specified <code>operand</code>, within a range of +/- <code>error</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T extends java.lang.Comparable<T>> <br><a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">OrderingComparison.</span><code><strong><a href="../../../org/hamcrest/number/OrderingComparison.html#comparesEqualTo(T)">comparesEqualTo</a></strong>(T value)</code>
<div class="block">Creates a matcher of <code>Comparable</code> object that matches when the examined object is
equal to the specified value, as reported by the <code>compareTo</code> method of the
<b>examined</b> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T extends java.lang.Comparable<T>> <br><a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">OrderingComparison.</span><code><strong><a href="../../../org/hamcrest/number/OrderingComparison.html#greaterThan(T)">greaterThan</a></strong>(T value)</code>
<div class="block">Creates a matcher of <code>Comparable</code> object that matches when the examined object is
greater than the specified value, as reported by the <code>compareTo</code> method of the
<b>examined</b> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T extends java.lang.Comparable<T>> <br><a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">OrderingComparison.</span><code><strong><a href="../../../org/hamcrest/number/OrderingComparison.html#greaterThanOrEqualTo(T)">greaterThanOrEqualTo</a></strong>(T value)</code>
<div class="block">Creates a matcher of <code>Comparable</code> object that matches when the examined object is
greater than or equal to the specified value, as reported by the <code>compareTo</code> method
of the <b>examined</b> object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T extends java.lang.Comparable<T>> <br><a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">OrderingComparison.</span><code><strong><a href="../../../org/hamcrest/number/OrderingComparison.html#lessThan(T)">lessThan</a></strong>(T value)</code>
<div class="block">Creates a matcher of <code>Comparable</code> object that matches when the examined object is
less than the specified value, as reported by the <code>compareTo</code> method of the
<b>examined</b> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T extends java.lang.Comparable<T>> <br><a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">OrderingComparison.</span><code><strong><a href="../../../org/hamcrest/number/OrderingComparison.html#lessThanOrEqualTo(T)">lessThanOrEqualTo</a></strong>(T value)</code>
<div class="block">Creates a matcher of <code>Comparable</code> object that matches when the examined object is
less than or equal to the specified value, as reported by the <code>compareTo</code> method
of the <b>examined</b> object.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.hamcrest.object">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/object/package-summary.html">org.hamcrest.object</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/object/package-summary.html">org.hamcrest.object</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.EventObject></code></td>
<td class="colLast"><span class="strong">IsEventFrom.</span><code><strong><a href="../../../org/hamcrest/object/IsEventFrom.html#eventFrom(java.lang.Class, java.lang.Object)">eventFrom</a></strong>(java.lang.Class<? extends java.util.EventObject> eventClass,
java.lang.Object source)</code>
<div class="block">Creates a matcher of <code>EventObject</code> that matches any object
derived from <var>eventClass</var> announced by <var>source</var>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.util.EventObject></code></td>
<td class="colLast"><span class="strong">IsEventFrom.</span><code><strong><a href="../../../org/hamcrest/object/IsEventFrom.html#eventFrom(java.lang.Object)">eventFrom</a></strong>(java.lang.Object source)</code>
<div class="block">Creates a matcher of <code>EventObject</code> that matches any EventObject
announced by <var>source</var>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">HasToString.</span><code><strong><a href="../../../org/hamcrest/object/HasToString.html#hasToString(org.hamcrest.Matcher)">hasToString</a></strong>(<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><? super java.lang.String> toStringMatcher)</code>
<div class="block">Creates a matcher that matches any examined object whose <code>toString</code> method
returns a value that satisfies the specified matcher.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><T></code></td>
<td class="colLast"><span class="strong">HasToString.</span><code><strong><a href="../../../org/hamcrest/object/HasToString.html#hasToString(java.lang.String)">hasToString</a></strong>(java.lang.String expectedToString)</code>
<div class="block">Creates a matcher that matches any examined object whose <code>toString</code> method
returns a value equalTo the specified string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.Class<?>></code></td>
<td class="colLast"><span class="strong">IsCompatibleType.</span><code><strong><a href="../../../org/hamcrest/object/IsCompatibleType.html#typeCompatibleWith(java.lang.Class)">typeCompatibleWith</a></strong>(java.lang.Class<T> baseType)</code>
<div class="block">Creates a matcher of <code>Class</code> that matches when the specified baseType is
assignable from the examined class.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.hamcrest.text">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/text/package-summary.html">org.hamcrest.text</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/text/package-summary.html">org.hamcrest.text</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">IsEqualIgnoringCase.</span><code><strong><a href="../../../org/hamcrest/text/IsEqualIgnoringCase.html#equalToIgnoringCase(java.lang.String)">equalToIgnoringCase</a></strong>(java.lang.String expectedString)</code>
<div class="block">Creates a matcher of <code>String</code> that matches when the examined string is equal to
the specified expectedString, ignoring case.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">IsEqualIgnoringWhiteSpace.</span><code><strong><a href="../../../org/hamcrest/text/IsEqualIgnoringWhiteSpace.html#equalToIgnoringWhiteSpace(java.lang.String)">equalToIgnoringWhiteSpace</a></strong>(java.lang.String expectedString)</code>
<div class="block">Creates a matcher of <code>String</code> that matches when the examined string is equal to
the specified expectedString, when whitespace differences are (mostly) ignored.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">IsEmptyString.</span><code><strong><a href="../../../org/hamcrest/text/IsEmptyString.html#isEmptyOrNullString()">isEmptyOrNullString</a></strong>()</code>
<div class="block">Creates a matcher of <code>String</code> that matches when the examined string is <code>null</code>, or
has zero length.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">IsEmptyString.</span><code><strong><a href="../../../org/hamcrest/text/IsEmptyString.html#isEmptyString()">isEmptyString</a></strong>()</code>
<div class="block">Creates a matcher of <code>String</code> that matches when the examined string has zero length.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String></code></td>
<td class="colLast"><span class="strong">StringContainsInOrder.</span><code><strong><a href="../../../org/hamcrest/text/StringContainsInOrder.html#stringContainsInOrder(java.lang.Iterable)">stringContainsInOrder</a></strong>(java.lang.Iterable<java.lang.String> substrings)</code>
<div class="block">Creates a matcher of <code>String</code> that matches when the examined string contains all of
the specified substrings, regardless of the order of their appearance.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.hamcrest.xml">
<!-- -->
</a>
<h3>Uses of <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a> in <a href="../../../org/hamcrest/xml/package-summary.html">org.hamcrest.xml</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../org/hamcrest/xml/package-summary.html">org.hamcrest.xml</a> with annotations of type <a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Factory</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><org.w3c.dom.Node></code></td>
<td class="colLast"><span class="strong">HasXPath.</span><code><strong><a href="../../../org/hamcrest/xml/HasXPath.html#hasXPath(java.lang.String)">hasXPath</a></strong>(java.lang.String xPath)</code>
<div class="block">Creates a matcher of <code>Node</code>s that matches when the examined node contains a node
at the specified <code>xPath</code>, with any content.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><org.w3c.dom.Node></code></td>
<td class="colLast"><span class="strong">HasXPath.</span><code><strong><a href="../../../org/hamcrest/xml/HasXPath.html#hasXPath(java.lang.String, org.hamcrest.Matcher)">hasXPath</a></strong>(java.lang.String xPath,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String> valueMatcher)</code>
<div class="block">Creates a matcher of <code>Node</code>s that matches when the examined node has a value at the
specified <code>xPath</code> that satisfies the specified <code>valueMatcher</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><org.w3c.dom.Node></code></td>
<td class="colLast"><span class="strong">HasXPath.</span><code><strong><a href="../../../org/hamcrest/xml/HasXPath.html#hasXPath(java.lang.String, javax.xml.namespace.NamespaceContext)">hasXPath</a></strong>(java.lang.String xPath,
javax.xml.namespace.NamespaceContext namespaceContext)</code>
<div class="block">Creates a matcher of <code>Node</code>s that matches when the examined node contains a node
at the specified <code>xPath</code> within the specified namespace context, with any content.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><org.w3c.dom.Node></code></td>
<td class="colLast"><span class="strong">HasXPath.</span><code><strong><a href="../../../org/hamcrest/xml/HasXPath.html#hasXPath(java.lang.String, javax.xml.namespace.NamespaceContext, org.hamcrest.Matcher)">hasXPath</a></strong>(java.lang.String xPath,
javax.xml.namespace.NamespaceContext namespaceContext,
<a href="../../../org/hamcrest/Matcher.html" title="interface in org.hamcrest">Matcher</a><java.lang.String> valueMatcher)</code>
<div class="block">Creates a matcher of <code>Node</code>s that matches when the examined node has a value at the
specified <code>xPath</code>, within the specified <code>namespaceContext</code>, that satisfies
the specified <code>valueMatcher</code>.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../org/hamcrest/Factory.html" title="annotation in org.hamcrest">Class</a></li>
<li class="navBarCell1Rev">Use</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</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/hamcrest/class-use/Factory.html" target="_top">Frames</a></li>
<li><a href="Factory.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>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|