Class LocalizedString.LanguageFormTranslationRange

java.lang.Object
com.lokalized.LocalizedString.LanguageFormTranslationRange
Enclosing class:
LocalizedString

Container for per-language-form cardinality translation information over a range (start, end) of values.
Author:
Mark Allen
  • Constructor Details

    • LanguageFormTranslationRange

      Constructs a translation range with the given start and end values.
      Parameters:
      start - the start value of the range, not null
      end - the end value of the range, not null
  • Method Details

    • toString

      Generates a String representation of this object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this object, not null
    • equals

      public boolean equals(@Nullable Object other)
      Checks if this object is equal to another one.
      Overrides:
      equals in class Object
      Parameters:
      other - the object to check, null returns false
      Returns:
      true if this is equal to the other object, false otherwise
    • hashCode

      public int hashCode()
      A hash code for this object.
      Overrides:
      hashCode in class Object
      Returns:
      a suitable hash code
    • getStart

      The start value for this range.
      Returns:
      the start value for this range, not null
    • getEnd

      The end value for this range.
      Returns:
      the end value for this range, not null