first commit
This commit is contained in:
commit
4d332ef662
27586 changed files with 3281783 additions and 0 deletions
21
rus/WEB-INF/lib/jxl_src/jxl/biff/IndexMapping.java
Normal file
21
rus/WEB-INF/lib/jxl_src/jxl/biff/IndexMapping.java
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
package jxl.biff;
|
||||
|
||||
import jxl.common.Logger;
|
||||
|
||||
public final class IndexMapping {
|
||||
private static Logger logger = Logger.getLogger(IndexMapping.class);
|
||||
|
||||
private int[] newIndices;
|
||||
|
||||
public IndexMapping(int size) {
|
||||
this.newIndices = new int[size];
|
||||
}
|
||||
|
||||
public void setMapping(int oldIndex, int newIndex) {
|
||||
this.newIndices[oldIndex] = newIndex;
|
||||
}
|
||||
|
||||
public int getNewIndex(int oldIndex) {
|
||||
return this.newIndices[oldIndex];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue