Package org.aksw.commons.util.numbers
Class NumberChunker
java.lang.Object
org.aksw.commons.util.numbers.NumberChunker
- Author:
- Claus Stadler Date: 7/13/11 Time: 3:02 PM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchunkValue(long id, long... chunkSizes) chunkValue(long id, List<Long> chunkSizes) Given a value, chunks it according to the given bases.
-
Constructor Details
-
NumberChunker
public NumberChunker()
-
-
Method Details
-
chunkValue
-
chunkValue
Given a value, chunks it according to the given bases. This method is used in LinkedGeoData for the directory layout of the changesets e.g. 7531902 becomes (7, 531, 902) with chunks 1000/1000- Parameters:
id-chunkSizes-- Returns:
-