Class BaseComparable

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BaseComparable>
    Direct Known Subclasses:
    DerivedComparable

    @GwtCompatible
    public class BaseComparable
    extends java.lang.Object
    implements java.lang.Comparable<BaseComparable>, java.io.Serializable
    Simple base class to verify that we handle generics correctly.
    Author:
    Kevin Bourrillion
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseComparable​(java.lang.String s)  
    • Constructor Detail

    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(@Nullable java.lang.Object other)
        Overrides:
        equals in class java.lang.Object