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

com.github.andyshao.lang.LongLongWrapper 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 LongLongWrapper implements LongWrapper { @Override public long getLong(long[] array , BigInteger position) { return array[position.intValue()]; } @Override public void setLong(long[] array , BigInteger position , long l) { array[position.intValue()] = l; } @Override public BigInteger size(long[] array) { return BigInteger.valueOf(array.length); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy