Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public PositionList<TuClase> obtenerRopa{
- PositionList<TuClase> devolver = new TuLista<TuClase>();
- for(Position<TuClase> pos : TuLista.positions()){
- if(pos.element().getItemKey() == CLOTHING)
- devolver.addLast(pos.element());
- }
- return devolver;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement