private Type getShiftedType(Type type) { int shiftedPosition = (type.ordinal() + 1) % Type.values().length; return Type.values()[shiftedPosition]; }
private Type getShiftedType(Type type) { int shiftedPosition = (type.ordinal() + 1) % Type.values().length; return Type.values()[shiftedPosition]; }