Interface HasCode<T>
-
- Type Parameters:
T- type of code
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
LanguageInfo,TranslationInfo
- All Known Implementing Classes:
Language,TextFormat
public interface HasCode<T> extends java.io.SerializableInterface which indicates that class should have code.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcode()Get code value.static <T,E extends HasCode<T>>
java.util.Optional<E>findByCode(java.util.Collection<E> collection, T code)Find find correspondingHasCodeelement from collection by code.
-