/** Returns the list of enumerations of the same kind than this enum. */ public VerticalDatumType[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public VerticalDatumType[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public VerticalDatumType[] family() { return values(); }
/** * Returns the list of enumerations of the same kind than this enum. */ public /*{VerticalDatumType}*/ CodeList[] family() { return values(); }
/** * Tests the list of vertical datum types. Note that {@link #testFromLegacy()} must be executed * first for ensuring {@link VerticalDatumTypes} class initialization prior this test. */ @Test @DependsOnMethod("testFromLegacy") public void testVerticalDatumTypes() { final VerticalDatumType[] types = VerticalDatumType.values(); assertEquals("First code list element.", VerticalDatumType.OTHER_SURFACE, types[0]); assertTrue(ArraysExt.contains(types, VerticalDatumTypes.ELLIPSOIDAL)); } }