@Override
  public int getIndex(T gr) {
    Integer result =  valMap.get( extract(gr));
    return (result == null) ? 0 : result;
  }
@Override
  public int getIndex(T gr) {
    Integer result =  valMap.get( extract(gr));
    return (result == null) ? 0 : result;
  }
@ Override public int getIndex ( T gr ) { Integer result = valMap . get ( extract ( gr ) ) ; return ( result == null ) ? 0 : result ; }
Used by CoordinateND.makeSparseArray; not used by CoordinateTime2D
Used by CoordinateND . makeSparseArray ; not used by CoordinateTime2D