Class PartitionSetMatcher

java.lang.Object
org.hamcrest.BaseMatcher<com.tangosol.net.partition.PartitionSet>
org.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
com.oracle.bedrock.matchers.PartitionSetMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<com.tangosol.net.partition.PartitionSet>, org.hamcrest.SelfDescribing

public class PartitionSetMatcher extends org.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<com.tangosol.net.partition.PartitionSet>
    contains(int... partitionIds)
     
    protected void
    describeMismatchSafely(com.tangosol.net.partition.PartitionSet partitionSet, org.hamcrest.Description mismatchDescription)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(com.tangosol.net.partition.PartitionSet partitionSet)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(com.tangosol.net.partition.PartitionSet partitionSet)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
    • describeMismatchSafely

      protected void describeMismatchSafely(com.tangosol.net.partition.PartitionSet partitionSet, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<com.tangosol.net.partition.PartitionSet>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • contains

      public static org.hamcrest.Matcher<com.tangosol.net.partition.PartitionSet> contains(int... partitionIds)