swap to base java Collection