Class TwoFormInflector.RegExpRule

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String plural  
      private java.util.regex.Pattern singular  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RegExpRule​(java.util.regex.Pattern singular, java.lang.String plural)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPlural​(java.lang.String word)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • singular

        private final java.util.regex.Pattern singular
      • plural

        private final java.lang.String plural
    • Constructor Detail

      • RegExpRule

        private RegExpRule​(java.util.regex.Pattern singular,
                           java.lang.String plural)