@Test public void deep_unoptionalize_optional_data_type() throws Exception { assertEquals(m_dt, Optionality.deep_unoptionalize(m_odt)); }
public static DataType deep_unoptionalize(DataType dt) { Ensure.not_null(dt); if (is_optional(dt)) { return deep_unoptionalize(((OptionalDataType) dt).inner_type()); } return dt; }
Optionality { public static DataType deep_unoptionalize(DataType dt) { Ensure.not_null(dt); if (is_optional(dt)) { return deep_unoptionalize(((OptionalDataType) dt).inner_type()); } return dt; } }
Optionality { public static DataType deep_unoptionalize(DataType dt) { Ensure.not_null(dt); if (is_optional(dt)) { return deep_unoptionalize(((OptionalDataType) dt).inner_type()); } return dt; } private  Optionality(); }
Optionality { public static DataType deep_unoptionalize(DataType dt) { Ensure.not_null(dt); if (is_optional(dt)) { return deep_unoptionalize(((OptionalDataType) dt).inner_type()); } return dt; } private  Optionality(); static boolean is_optional(DataType dt); static boolean is_optional(DataValue dv); static DataType unoptionalize(DataType dt); static DataType deep_unoptionalize(DataType dt); static DataValue unoptionalize(DataValue dv); static DataValue deep_unoptionalize(DataValue dv); static DataValue optionalize(DataValue v, DataType dt); static boolean is_optional_of(DataType opt, DataType inner); static boolean is_deep_optional_of(DataType opt, DataType inner); }
Optionality { public static DataType deep_unoptionalize(DataType dt) { Ensure.not_null(dt); if (is_optional(dt)) { return deep_unoptionalize(((OptionalDataType) dt).inner_type()); } return dt; } private  Optionality(); static boolean is_optional(DataType dt); static boolean is_optional(DataValue dv); static DataType unoptionalize(DataType dt); static DataType deep_unoptionalize(DataType dt); static DataValue unoptionalize(DataValue dv); static DataValue deep_unoptionalize(DataValue dv); static DataValue optionalize(DataValue v, DataType dt); static boolean is_optional_of(DataType opt, DataType inner); static boolean is_deep_optional_of(DataType opt, DataType inner);  }