code: public int[] getNonZeroIndices() {
          if (nonZeroIndices == null) {
              nonZeroIndices = vector.keys();
              Arrays.sort(nonZeroIndices);
          }
          return nonZeroIndices;
      }
docs: {@inheritDoc}