FrontendType implements Comparable<FrontendType>, WritableIdentifier { @Override public int compareTo(final FrontendType obj) { return this == obj ? 0 : name.compareTo(obj.name); } private  FrontendType(final String name);   FrontendType(final String name, final byte[] serialized); static @NonNull FrontendType forName(final String name); static @NonNull FrontendType readFrom(final DataInput in); @Override void writeTo(final DataOutput out); @NonNull String getName(); org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.cds.types.rev191024
        . @NonNull FrontendType toYang(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override int compareTo(final FrontendType obj); @Override String toString();  }
@Test public void testCompareTo() { Assert.assertTrue(object().compareTo(equalObject()) == 0); Assert.assertTrue(object().compareTo(differentObject()) < 0); }