
org.hibernate.util.ArrayHelper Maven / Gradle / Ivy
The newest version!
//$Id: ArrayHelper.java 7546 2005-07-19 18:17:15Z oneovthafew $
package org.hibernate.util;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.hibernate.LockMode;
import org.hibernate.type.Type;
public final class ArrayHelper {
/*public static boolean contains(Object[] array, Object object) {
for ( int i=0; i=0 ) return false;
}
return true;
}
public static boolean isAllTrue(boolean[] array) {
for ( int i=0; i1 ) {
batchSize = getNextBatchSize(batchSize);
n++;
}
int[] result = new int[n];
batchSize = maxBatchSize;
for ( int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy