map.put(m_col.getInt(m_table.getColumnRow(r,idx)), r);
}
}
else if ( m_index instanceof LongIntSortedMap )
{
LongIntSortedMap map = (LongIntSortedMap)m_index;
while ( rows.hasNext() ) {
int r = rows.nextInt();
map.put(m_col.getLong(m_table.getColumnRow(r,idx)), r);
}
}
else if ( m_index instanceof FloatIntSortedMap )
{
FloatIntSortedMap map = (FloatIntSortedMap)m_index;
while ( rows.hasNext() ) {
int r = rows.nextInt();
map.put(m_col.getFloat(m_table.getColumnRow(r,idx)), r);
}
}
else if ( m_index instanceof DoubleIntSortedMap )
{
DoubleIntSortedMap map = (DoubleIntSortedMap)m_index;
while ( rows.hasNext() ) {
int r = rows.nextInt();
map.put(m_col.getDouble(m_table.getColumnRow(r,idx)), r);
}
}
else if ( m_index instanceof BooleanIntSortedMap )
{
BooleanIntSortedMap map = (BooleanIntSortedMap)m_index;
while ( rows.hasNext() ) {
int r = rows.nextInt();
map.put(m_col.getBoolean(m_table.getColumnRow(r,idx)), r);
}
}
else if ( m_index instanceof ObjectIntSortedMap )
{
ObjectIntSortedMap map = (ObjectIntSortedMap)m_index;
while ( rows.hasNext() ) {
int r = rows.nextInt();
map.put(m_col.get(m_table.getColumnRow(r,idx)), r);
}
}
else {
throw new IllegalStateException();
}