/** Returns the list of enumerations of the same kind than this enum. */ public PixelOrientation[] family() { return values(); }
/** * Returns the list of enumerations of the same kind than this enum. */ public /*{PixelOrientation}*/ CodeList[] family() { return values(); }
/** * Returns all constants defined by this enumeration type. * Invoking this method is equivalent to invoking {@link #values()}, except that this * method can be invoked on an instance of the {@code ControlledVocabulary} interface * (i.e. the enumeration type does not need to be known at compile-time). * * @return all {@linkplain #values() values} for this enumeration. */ @Override public PixelOrientation[] family() { return values(); } }
/** * Returns all constants defined by this enumeration type. * Invoking this method is equivalent to invoking {@link #values()}, except that this * method can be invoked on an instance of the {@code ControlledVocabulary} interface * (i.e. the enumeration type does not need to be known at compile-time). * * @return all {@linkplain #values() values} for this enumeration. */ @Override public PixelOrientation[] family() { return values(); } }