/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ @Override public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }
/** * {@inheritDoc} * * This compares in class-major and value-minor order. */ @Override public final int compareTo(Constant other) { Class clazz = getClass(); Class otherClazz = other.getClass(); if (clazz != otherClazz) { return clazz.getName().compareTo(otherClazz.getName()); } return compareTo0(other); }