Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public enum enum_type {
- BID(0), OFFER(1), TRADE(2);
- public int codigo;
- enum_type(int codigo) {
- this.codigo = codigo;
- }
- }
- public static LinkedList<LinkedList<Eventos>> Working(enum_type tipo, enum_updateAction updateAction) {
- switch (Eventos.get(0).getUpdateaction()) {
- case enum_updateAction.NEW://enum_updateAction.NEW: // 0 = new
- ArrayEventos.add(InserirOrdenado(ArrayEventos, Ordem), Ordem);
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement