Class PatternEncoding

All Implemented Interfaces:
Encoding<Pattern>, NaturalSortAware, Serializable, Comparator<Pattern>

public class PatternEncoding extends StringConvertedEncoding<Pattern>
Non-null Pattern type. Null values are not supported by this class.

Note: equality is defined by equal pattern strings, which is not consistent with the method Pattern.equals(), which is not implemented and therefore defaults to object identity for comparision.

See Also:
  • Constructor Details

    • PatternEncoding

      public PatternEncoding(EncodingId encodingId)