All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.andyshao.lang.IntIntWrapper Maven / Gradle / Ivy

The newest version!
package com.github.andyshao.lang;

import java.math.BigInteger;

/**
 * 
 * Title:
* Descript:
* Copyright: Copryright(c) Apr 5, 2015
* Encoding:UNIX UTF-8 * * @author Andy.Shao * */ public class IntIntWrapper implements IntWrapper { @Override public int getInt(int[] array , BigInteger position) { return array[position.intValue()]; } @Override public void setInt(int[] array , BigInteger position , int i) { array[position.intValue()] = i; } @Override public BigInteger size(int[] array) { return BigInteger.valueOf(array.length); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy