Interface Matchable<T>

All Known Subinterfaces:
KeyPartitioner
All Known Implementing Classes:
AffinityPartitioner, Attribute, AttributeSet, AuthenticationConfiguration, AuthorizationConfiguration, BackupConfiguration, BackupForConfiguration, ClusteringConfiguration, Configuration, ConfigurationElement, ContentTypeConfiguration, CorsConfiguration, CorsRuleConfiguration, CounterManagerConfiguration, CustomInterceptorsConfiguration, EncodingConfiguration, EncryptionConfiguration, ExpirationConfiguration, GroupingPartitioner, GroupsConfiguration, HashConfiguration, HashFunctionPartitioner, HotRodServerConfiguration, IndexingConfiguration, IndexMergeConfiguration, IndexReaderConfiguration, IndexWriterConfiguration, InvocationBatchingConfiguration, L1Configuration, LockingConfiguration, MemcachedServerConfiguration, MemoryConfiguration, PartitionHandlingConfiguration, PersistenceConfiguration, ProtocolServerConfiguration, QueryConfiguration, RecoveryConfiguration, RestServerConfiguration, SaslConfiguration, SecurityConfiguration, SingleSegmentKeyPartitioner, SitesConfiguration, SniConfiguration, SslConfiguration, SslConfiguration, StackFileConfiguration, StateTransferConfiguration, StatisticsConfiguration, TakeOfflineConfiguration, TopologyCacheConfiguration, TransactionConfiguration, UnsafeConfiguration, XSiteStateTransferConfiguration

public interface Matchable<T>
An interface for defining non-strict equality, e.g. such as attributes being of the same type but not necessarily having the same value. The default behaviour delegates to Object.equals(Object).
Since:
9.2
Author:
Tristan Tarrant
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    matches(T other)
     
  • Method Details

    • matches

      default boolean matches(T other)