SYMBOL INDEX (1847 symbols across 165 files) FILE: src/main/java/org/janelia/saalfeldlab/n5/AbstractDataBlock.java class AbstractDataBlock (line 13) | public abstract class AbstractDataBlock implements DataBlock { method AbstractDataBlock (line 20) | public AbstractDataBlock( method getSize (line 32) | @Override method getGridPosition (line 38) | @Override method getData (line 44) | @Override method getNumElements (line 50) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/BufferedKvaLockedChannel.java class BufferedKvaLockedChannel (line 9) | class BufferedKvaLockedChannel implements LockedChannel { method BufferedKvaLockedChannel (line 15) | BufferedKvaLockedChannel(final KeyValueAccess kva, final String key) { method newReader (line 20) | @Override method newInputStream (line 26) | @Override method newWriter (line 39) | @Override method newOutputStream (line 45) | @Override method close (line 52) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/ByteArrayDataBlock.java class ByteArrayDataBlock (line 3) | public class ByteArrayDataBlock extends AbstractDataBlock { method ByteArrayDataBlock (line 5) | public ByteArrayDataBlock(final int[] size, final long[] gridPosition,... FILE: src/main/java/org/janelia/saalfeldlab/n5/Bzip2Compression.java class Bzip2Compression (line 12) | @CompressionType("bzip2") method Bzip2Compression (line 22) | public Bzip2Compression(final int blockSize) { method Bzip2Compression (line 27) | public Bzip2Compression() { method equals (line 32) | @Override method decode (line 41) | @Override method encode (line 50) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/CachedGsonKeyValueN5Reader.java type CachedGsonKeyValueN5Reader (line 19) | public interface CachedGsonKeyValueN5Reader extends GsonKeyValueN5Reader... method newCache (line 21) | default N5JsonCache newCache() { method cacheMeta (line 26) | boolean cacheMeta(); method getCache (line 28) | N5JsonCache getCache(); method getAttributesFromContainer (line 30) | @Override method getDatasetAttributes (line 38) | @Override method normalGetDatasetAttributes (line 56) | default DatasetAttributes normalGetDatasetAttributes(final String path... method getAttribute (line 63) | @Override method getAttribute (line 85) | @Override method exists (line 106) | @Override method existsFromContainer (line 117) | @Override method groupExists (line 127) | @Override method isGroupFromContainer (line 138) | @Override method isGroupFromAttributes (line 144) | @Override method datasetExists (line 150) | @Override method isDatasetFromContainer (line 160) | @Override method isDatasetFromAttributes (line 166) | @Override method getAttributes (line 180) | @Override method list (line 193) | @Override method listFromContainer (line 204) | @Override method hasDatasetAttributes (line 219) | static boolean hasDatasetAttributes(final JsonElement attributes) { FILE: src/main/java/org/janelia/saalfeldlab/n5/CachedGsonKeyValueN5Writer.java type CachedGsonKeyValueN5Writer (line 12) | public interface CachedGsonKeyValueN5Writer extends CachedGsonKeyValueN5... method setVersion (line 14) | @Override method createGroup (line 25) | @Override method writeAttributes (line 63) | @Override method writeAndCacheAttributes (line 71) | default void writeAndCacheAttributes( method remove (line 97) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/ChannelLock.java class ChannelLock (line 18) | class ChannelLock implements Closeable { method ChannelLock (line 35) | private ChannelLock(final FileChannel channel, final FileLock lock) { method close (line 40) | public void close() throws IOException { method getChannel (line 50) | FileChannel getChannel() { method lock (line 69) | static ChannelLock lock(final Path path, final boolean forWriting, fin... method openFileChannel (line 106) | private static FileChannel openFileChannel(final Path path, final bool... method closeQuietly (line 119) | private static void closeQuietly(final FileChannel fileChannel) { FILE: src/main/java/org/janelia/saalfeldlab/n5/Compression.java type Compression (line 29) | public interface Compression extends Serializable, DataCodec, DataCodecI... method getType (line 53) | default String getType() { method create (line 62) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/CompressionAdapter.java class CompressionAdapter (line 31) | public class CompressionAdapter implements JsonDeserializer... method getDeclaredFields (line 38) | private static ArrayList getDeclaredFields(Class clazz) { method update (line 47) | @SuppressWarnings("unchecked") method update (line 84) | public static void update() { method serialize (line 89) | @Override method deserialize (line 120) | @Override method getJsonAdapter (line 153) | public static CompressionAdapter getJsonAdapter() { FILE: src/main/java/org/janelia/saalfeldlab/n5/DataBlock.java type DataBlock (line 11) | public interface DataBlock { method getSize (line 22) | int[] getSize(); method getGridPosition (line 32) | long[] getGridPosition(); method getData (line 39) | T getData(); method getNumElements (line 48) | int getNumElements(); method getNumElements (line 57) | static int getNumElements(final int[] size) { type DataBlockFactory (line 71) | interface DataBlockFactory { method createDataBlock (line 85) | DataBlock createDataBlock(int[] blockSize, long[] gridPosition, T... FILE: src/main/java/org/janelia/saalfeldlab/n5/DataType.java type DataType (line 18) | public enum DataType { method DataType (line 97) | DataType(final String label, final DataBlockFactory dataBlockFactory) { method toString (line 103) | @Override method fromString (line 109) | public static DataType fromString(final String string) { method createDataBlock (line 129) | public DataBlock createDataBlock(final int[] blockSize, final long[... method createDataBlock (line 144) | public DataBlock createDataBlock(final int[] blockSize, final long[... type DataBlockFactory (line 149) | private interface DataBlockFactory { method createDataBlock (line 151) | DataBlock createDataBlock(final int[] blockSize, final long[] gri... class JsonAdapter (line 154) | static public class JsonAdapter implements JsonDeserializer,... method deserialize (line 156) | @Override method serialize (line 165) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/DatasetAttributes.java class DatasetAttributes (line 44) | public class DatasetAttributes implements Serializable { method DatasetAttributes (line 81) | public DatasetAttributes( method DatasetAttributes (line 109) | public DatasetAttributes( method DatasetAttributes (line 121) | public DatasetAttributes( method DatasetAttributes (line 140) | public DatasetAttributes( method DatasetAttributes (line 156) | public DatasetAttributes( method createDatasetAccess (line 164) | private DatasetAccess createDatasetAccess() { method blockCodecWithDatasetCodecs (line 212) | @SuppressWarnings("unchecked") method nestingDepth (line 225) | private static int nestingDepth(BlockCodecInfo info) { method defaultBlockCodecInfo (line 234) | protected BlockCodecInfo defaultBlockCodecInfo() { method getDimensions (line 239) | public long[] getDimensions() { method getNumDimensions (line 244) | public int getNumDimensions() { method getChunkSize (line 249) | public int[] getChunkSize() { method getBlockSize (line 254) | public int[] getBlockSize() { method getDefaultValue (line 259) | public JsonElement getDefaultValue() { method isSharded (line 264) | public boolean isSharded() { method getCompression (line 278) | @Deprecated method getDataType (line 288) | public DataType getDataType() { method getDatasetAccess (line 298) | protected DatasetAccess getDatasetAccess() { method getNestedBlockGrid (line 309) | public NestedGrid getNestedBlockGrid() { method getBlockCodecInfo (line 314) | public BlockCodecInfo getBlockCodecInfo() { method getDataCodecInfos (line 319) | public DataCodecInfo[] getDataCodecInfos() { method getDatasetCodecInfos (line 324) | public DatasetCodecInfo[] getDatasetCodecInfos() { method relativeBlockPath (line 329) | public String relativeBlockPath(long... position) { method asMap (line 334) | public HashMap asMap() { method builder (line 344) | public static Builder builder(final long[] dimensions, final DataType ... method builder (line 349) | public static Builder builder(final DatasetAttributes attributes) { method defaultBlockSize (line 359) | protected static int[] defaultBlockSize(final long[] dimensions) { class Builder (line 377) | public static class Builder { method Builder (line 385) | public Builder(final long[] dimensions, final DataType dataType) { method Builder (line 392) | public Builder(final DatasetAttributes attributes) { method blockSize (line 400) | public Builder blockSize(final int[] blockSize) { method compression (line 413) | public Builder compression(final Compression compression) { method build (line 420) | public DatasetAttributes build() { method getJsonAdapter (line 428) | public static DatasetAttributesAdapter getJsonAdapter() { class DatasetAttributesAdapter (line 436) | public static class DatasetAttributesAdapter implements JsonSerializer... method deserialize (line 438) | @Override public DatasetAttributes deserialize(JsonElement json, Typ... method serialize (line 482) | @Override public JsonElement serialize(DatasetAttributes src, Type t... method getCompressionVersion0 (line 499) | private static Compression getCompressionVersion0(final String compr... FILE: src/main/java/org/janelia/saalfeldlab/n5/DoubleArrayDataBlock.java class DoubleArrayDataBlock (line 3) | public class DoubleArrayDataBlock extends AbstractDataBlock { method DoubleArrayDataBlock (line 5) | public DoubleArrayDataBlock(final int[] size, final long[] gridPositio... FILE: src/main/java/org/janelia/saalfeldlab/n5/FileKeyLockManager.java class FileKeyLockManager (line 19) | class FileKeyLockManager { method forPolicy (line 23) | static FileKeyLockManager forPolicy(final LockingPolicy policy) { method FileKeyLockManager (line 50) | private FileKeyLockManager(final LockingPolicy policy) { class WeakValue (line 58) | private static class WeakValue extends WeakReference { method WeakValue (line 62) | WeakValue( method cleanUp (line 76) | private void cleanUp() method keyLockState (line 86) | private KeyLockState keyLockState(final Path path, final LockingPolicy... method lockForReading (line 124) | public LockedFileChannel lockForReading(final Path path) throws IOExce... method lockForWriting (line 141) | public LockedFileChannel lockForWriting(final Path path) throws IOExce... method size (line 151) | int size() { FILE: src/main/java/org/janelia/saalfeldlab/n5/FileSystemKeyValueAccess.java class FileSystemKeyValueAccess (line 34) | public class FileSystemKeyValueAccess implements KeyValueAccess { method FileSystemKeyValueAccess (line 38) | public FileSystemKeyValueAccess() { method lockForReading (line 43) | private LockedFileChannel lockForReading(final Path path) throws N5IOE... method lockForWriting (line 54) | private LockedFileChannel lockForWriting(final Path path) throws N5IOE... method createReadData (line 65) | @Override method write (line 70) | @Override method isDirectory (line 80) | @Override method isFile (line 87) | @Override method exists (line 94) | @Override method size (line 101) | @Override method size (line 107) | private static long size(final Path path) { method listDirectories (line 118) | @Override method list (line 134) | @Override method components (line 149) | @Override method parent (line 178) | @Override method relativize (line 188) | @Override method normalize (line 204) | @Override method uri (line 210) | @Override method compose (line 224) | @Override method compose (line 234) | @Override method createDirectories (line 251) | @Override method delete (line 263) | @Override method tryDelete (line 293) | protected static void tryDelete(final Path path) throws IOException { method createDirectories (line 373) | protected static Path createDirectories(Path dir, final FileAttribute<... method createAndCheckIsDirectory (line 437) | protected static void createAndCheckIsDirectory( method validBounds (line 455) | private static void validBounds(final long channelSize, final long off... class FileLazyRead (line 465) | private class FileLazyRead implements LazyRead { method FileLazyRead (line 470) | FileLazyRead(final Path path) { method size (line 475) | @Override method materialize (line 491) | @Override method close (line 515) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/FloatArrayDataBlock.java class FloatArrayDataBlock (line 3) | public class FloatArrayDataBlock extends AbstractDataBlock { method FloatArrayDataBlock (line 5) | public FloatArrayDataBlock(final int[] size, final long[] gridPosition... FILE: src/main/java/org/janelia/saalfeldlab/n5/FsIoPolicy.java class FsIoPolicy (line 18) | public class FsIoPolicy { method validBounds (line 22) | private static boolean validBounds(long channelSize, long offset, long... method openFileChannel (line 41) | static FileChannel openFileChannel(final Path path, final boolean forW... method writeToPathIgnoreCloseException (line 64) | private static void writeToPathIgnoreCloseException(ReadData readData,... class Unsafe (line 88) | public static class Unsafe implements IoPolicy { method write (line 89) | @Override method read (line 95) | @Override method delete (line 102) | @Override class Atomic (line 109) | public static class Atomic implements IoPolicy { method write (line 110) | @Override method read (line 118) | @Override method delete (line 125) | @Override class FileLazyRead (line 136) | static class FileLazyRead implements LazyRead { method FileLazyRead (line 143) | FileLazyRead(final Path path) throws IOException { method FileLazyRead (line 147) | FileLazyRead(final Path path, final boolean requireLock ) throws IOE... method size (line 155) | @Override method materialize (line 171) | @Override method close (line 211) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/GsonKeyValueN5Reader.java type GsonKeyValueN5Reader (line 19) | public interface GsonKeyValueN5Reader extends GsonN5Reader { method getKeyValueAccess (line 21) | KeyValueAccess getKeyValueAccess(); method groupExists (line 23) | default boolean groupExists(final String normalPath) { method exists (line 28) | @Override method datasetExists (line 35) | @Override method getAttributes (line 50) | @Override method readChunk (line 68) | @Override method readChunks (line 85) | @Override method readBlock (line 96) | @Override method list (line 114) | @Override method absoluteGroupPath (line 128) | default String absoluteGroupPath(final String normalGroupPath) { method absoluteAttributesPath (line 141) | default String absoluteAttributesPath(final String normalPath) { method blockExists (line 146) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/GsonKeyValueN5Writer.java type GsonKeyValueN5Writer (line 26) | public interface GsonKeyValueN5Writer extends GsonN5Writer, GsonKeyValue... method setVersion (line 35) | default void setVersion(final String path) { method initializeContainer (line 41) | static String initializeContainer( method createGroup (line 50) | @Override method writeAttributes (line 70) | default void writeAttributes( method setAttributes (line 86) | @Override method writeAttributes (line 114) | default void writeAttributes( method setAttributes (line 128) | @Override method removeAttribute (line 140) | @Override method removeAttribute (line 163) | @Override method removeAttributes (line 182) | @Override method writeRegion (line 194) | @Override method writeRegion (line 212) | @Override method writeChunks (line 231) | @Override method writeChunk (line 247) | @Override method writeBlock (line 264) | @Override method remove (line 282) | @Override method deleteBlock (line 294) | @Override method deleteChunk (line 304) | @Override method deleteChunks (line 314) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/GsonN5Reader.java type GsonN5Reader (line 17) | public interface GsonN5Reader extends N5Reader { method getGson (line 19) | Gson getGson(); method getAttributesKey (line 27) | String getAttributesKey(); method listAttributes (line 29) | @Override method getDatasetAttributes (line 35) | @Override method createDatasetAttributes (line 43) | default DatasetAttributes createDatasetAttributes(final JsonElement at... method getAttribute (line 56) | @Override method getAttribute (line 70) | @Override method getAttributes (line 91) | JsonElement getAttributes(final String pathName) throws N5Exception; FILE: src/main/java/org/janelia/saalfeldlab/n5/GsonN5Writer.java type GsonN5Writer (line 10) | public interface GsonN5Writer extends GsonN5Reader, N5Writer { method setAttributes (line 22) | void setAttributes( FILE: src/main/java/org/janelia/saalfeldlab/n5/GsonUtils.java type GsonUtils (line 26) | public interface GsonUtils { method readAttributes (line 37) | static JsonElement readAttributes(final Reader reader, final Gson gson) { method readAttribute (line 42) | static T readAttribute( method readAttribute (line 51) | static T readAttribute( method parseAttributeElement (line 75) | @SuppressWarnings("unchecked") method getAttribute (line 127) | static JsonElement getAttribute(JsonElement root, final String normali... method listAttributes (line 176) | static Map> listAttributes(final JsonElement root) th... method getJsonAsArray (line 229) | static T getJsonAsArray(final Gson gson, final JsonArray array, fi... method getJsonAsArray (line 234) | @SuppressWarnings("unchecked") method classForJsonPrimitive (line 321) | static Class classForJsonPrimitive(final JsonPrimitive jsonPrimitiv... method removeAttribute (line 365) | static T removeAttribute( method removeAttribute (line 393) | static boolean removeAttribute( method removeAttribute (line 429) | static T removeAttribute( method removeAttribute (line 453) | static JsonElement removeAttribute(JsonElement root, final String norm... method writeAttribute (line 511) | static void writeAttribute( method writeAttributes (line 537) | static void writeAttributes( method insertAttributes (line 546) | static JsonElement insertAttributes(JsonElement root, final Map JsonElement insertAttribute( FILE: src/main/java/org/janelia/saalfeldlab/n5/GzipCompression.java class GzipCompression (line 16) | @CompressionType("gzip") method GzipCompression (line 44) | public GzipCompression() { method GzipCompression (line 49) | public GzipCompression(final int level) { method GzipCompression (line 54) | public GzipCompression(final int level, final boolean useZlib) { method equals (line 60) | @Override method decode (line 71) | private InputStream decode(final InputStream in) throws IOException { method decode (line 82) | @Override method encode (line 92) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/HttpKeyValueAccess.java class HttpKeyValueAccess (line 35) | public class HttpKeyValueAccess implements KeyValueAccess { method HttpKeyValueAccess (line 55) | public HttpKeyValueAccess() { method setReadTimeout (line 61) | public void setReadTimeout(int readTimeoutMilliseconds) { method setConnectionTimeout (line 66) | public void setConnectionTimeout(int connectionTimeoutMilliseconds) { method setListParser (line 71) | public void setListParser(final ListResponseParser parser) { method setListDirectoryParser (line 76) | public void setListDirectoryParser(final ListResponseParser parser) { method normalize (line 81) | @Override method uri (line 87) | @Override method exists (line 103) | @Override method size (line 114) | @Override public long size(String normalPath) { method isDirectory (line 131) | @Override method getDirectoryPath (line 151) | private static String getDirectoryPath(String normalPath) { method isFile (line 172) | @Override method getFilePath (line 192) | private static String getFilePath(String normalPath) { method httpRequest (line 198) | private HttpURLConnection httpRequest(String normalPath, String method... method createReadData (line 208) | @Override method lockForReading (line 213) | public LockedChannel lockForReading(final String normalPath) throws N5... method lockForWriting (line 224) | @Override method write (line 230) | @Override method listDirectories (line 248) | @Override method list (line 267) | @Override method queryListEntries (line 273) | private String[] queryListEntries(String normalPath, ListResponseParse... method validExistsResponse (line 284) | private static N5Exception validExistsResponse(int code, String respon... method requireValidHttpResponse (line 294) | private HttpURLConnection requireValidHttpResponse(String uri, String ... method requireValidHttpResponse (line 298) | private HttpURLConnection requireValidHttpResponse(String uri, String ... method requireValidHttpResponse (line 302) | private HttpURLConnection requireValidHttpResponse(String uri, String ... method responseToString (line 321) | private String responseToString(InputStream inputStream) throws IOExce... method createDirectories (line 326) | @Override method delete (line 332) | @Override class HttpObjectChannel (line 338) | private class HttpObjectChannel implements LockedChannel { method HttpObjectChannel (line 345) | protected HttpObjectChannel(final URI uri, long startByte, long size) { method isPartialRead (line 352) | private boolean isPartialRead() { method newInputStream (line 356) | @Override method rangeString (line 379) | private String rangeString() { method newReader (line 385) | @Override method newOutputStream (line 395) | @Override method newWriter (line 401) | @Override method close (line 407) | @Override class HttpLazyRead (line 419) | private class HttpLazyRead implements LazyRead { method HttpLazyRead (line 423) | HttpLazyRead(String normalKey) { method size (line 427) | @Override method materialize (line 432) | @Override method close (line 443) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/IntArrayDataBlock.java class IntArrayDataBlock (line 3) | public class IntArrayDataBlock extends AbstractDataBlock { method IntArrayDataBlock (line 5) | public IntArrayDataBlock(final int[] size, final long[] gridPosition, ... FILE: src/main/java/org/janelia/saalfeldlab/n5/IoPolicy.java type IoPolicy (line 8) | public interface IoPolicy { method write (line 10) | void write(String key, ReadData readData) throws IOException; method read (line 12) | VolatileReadData read(String key) throws IOException; method delete (line 14) | void delete(String key) throws IOException; method withFallback (line 16) | static IoPolicy withFallback(IoPolicy primary, IoPolicy fallback) { FILE: src/main/java/org/janelia/saalfeldlab/n5/KeyLockState.java class KeyLockState (line 12) | class KeyLockState { method KeyLockState (line 18) | public KeyLockState(final Path path, LockingPolicy policy) { method acquireRead (line 45) | LockedFileChannel acquireRead() throws IOException { method releaseRead (line 78) | void releaseRead() throws IOException { method releaseChannelLock (line 96) | private void releaseChannelLock() throws IOException { method acquireWrite (line 105) | LockedFileChannel acquireWrite() throws IOException { method releaseWrite (line 127) | void releaseWrite() throws IOException { FILE: src/main/java/org/janelia/saalfeldlab/n5/KeyValueAccess.java type KeyValueAccess (line 22) | public interface KeyValueAccess { method components (line 31) | default String[] components( final String path ) { method compose (line 59) | default String compose( final URI uri, final String... components ) { method compose (line 97) | @Deprecated method parent (line 115) | default String parent( final String path ) { method relativize (line 129) | default String relativize( final String path, final String base ) { method normalize (line 155) | String normalize( final String path ); method uri (line 166) | default URI uri(final String uriString) throws URISyntaxException { method exists (line 181) | boolean exists( final String normalPath ); method size (line 192) | long size( final String normalPath ) throws N5Exception.N5NoSuchKeyExc... method isDirectory (line 202) | boolean isDirectory( String normalPath ); method isFile (line 212) | boolean isFile( String normalPath ); method createReadData (line 237) | VolatileReadData createReadData(final String normalPath) throws N5IOEx... method write (line 252) | void write(String normalPath, ReadData data) throws N5IOException; method lockForReading (line 271) | @Deprecated method lockForWriting (line 294) | @Deprecated method listDirectories (line 309) | String[] listDirectories( final String normalPath ) throws N5IOException; method list (line 320) | String[] list( final String normalPath ) throws N5IOException; method createDirectories (line 334) | void createDirectories( final String normalPath ) throws N5IOException; method delete (line 345) | void delete( final String normalPath ) throws N5IOException; FILE: src/main/java/org/janelia/saalfeldlab/n5/LinkedAttributePathToken.java class LinkedAttributePathToken (line 12) | public abstract class LinkedAttributePathToken im... method getJsonType (line 27) | public abstract T getJsonType(); method getOrCreateChildElement (line 42) | public abstract JsonElement getOrCreateChildElement(); method writeChild (line 62) | public JsonElement writeChild(final Gson gson, final Object value) { method jsonCompatible (line 90) | @SuppressWarnings("BooleanMethodIsAlwaysInverted") method writeValue (line 107) | protected abstract void writeValue(Gson gson, Object value); method writeChildElement (line 113) | protected abstract void writeChildElement(); method getChildElement (line 119) | protected abstract JsonElement getChildElement(); method setAndCreateParentElement (line 133) | @SuppressWarnings("unchecked") method hasNext (line 149) | @Override method next (line 158) | @Override class ObjectAttributeToken (line 164) | public static class ObjectAttributeToken extends LinkedAttributePathTo... method ObjectAttributeToken (line 170) | public ObjectAttributeToken(final String key) { method getKey (line 179) | public String getKey() { method toString (line 184) | @Override method getJsonType (line 190) | @Override method getOrCreateChildElement (line 196) | @Override method getChildElement (line 206) | @Override method writeValue (line 212) | @Override method writeChildElement (line 218) | @Override class ArrayAttributeToken (line 228) | public static class ArrayAttributeToken extends LinkedAttributePathTok... method ArrayAttributeToken (line 234) | public ArrayAttributeToken(final int index) { method getIndex (line 243) | public int getIndex() { method toString (line 248) | @Override method getJsonType (line 254) | @Override method getOrCreateChildElement (line 260) | @Override method writeChildElement (line 269) | @Override method getChildElement (line 278) | @Override method writeValue (line 284) | @Override method fillArrayToIndex (line 303) | private static void fillArrayToIndex(final JsonArray array, final in... method valueRepresentsANumber (line 330) | private static boolean valueRepresentsANumber(final Object value) { FILE: src/main/java/org/janelia/saalfeldlab/n5/LockedChannel.java type LockedChannel (line 17) | public interface LockedChannel extends Closeable { method newReader (line 26) | Reader newReader() throws N5IOException; method newInputStream (line 35) | InputStream newInputStream() throws N5IOException; method newWriter (line 44) | Writer newWriter() throws N5IOException; method newOutputStream (line 53) | OutputStream newOutputStream() throws N5IOException; FILE: src/main/java/org/janelia/saalfeldlab/n5/LockedFileChannel.java class LockedFileChannel (line 20) | class LockedFileChannel implements Closeable { type ReleaseLock (line 30) | @FunctionalInterface method release (line 33) | void release() throws IOException; method LockedFileChannel (line 36) | LockedFileChannel(final FileChannel channel, final ReleaseLock release... method size (line 47) | public long size() throws IOException { method read (line 57) | public int read(final ByteBuffer dst, final long position) throws IOEx... method asOutputStream (line 65) | public OutputStream asOutputStream() { class ClosingChannelWrapper (line 71) | private class ClosingChannelWrapper implements WritableByteChannel { method write (line 73) | @Override method isOpen (line 86) | @Override method close (line 91) | @Override method close (line 98) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/LockingPolicy.java type LockingPolicy (line 24) | public enum LockingPolicy { method fromString (line 44) | static LockingPolicy fromString(final String s) { FILE: src/main/java/org/janelia/saalfeldlab/n5/LongArrayDataBlock.java class LongArrayDataBlock (line 3) | public class LongArrayDataBlock extends AbstractDataBlock { method LongArrayDataBlock (line 5) | public LongArrayDataBlock(final int[] size, final long[] gridPosition,... FILE: src/main/java/org/janelia/saalfeldlab/n5/Lz4Compression.java class Lz4Compression (line 9) | @CompressionType("lz4") method Lz4Compression (line 19) | public Lz4Compression(final int blockSize) { method Lz4Compression (line 24) | public Lz4Compression() { method equals (line 29) | @Override method decode (line 38) | @Override method encode (line 44) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/N5Exception.java class N5Exception (line 3) | public class N5Exception extends RuntimeException { method N5Exception (line 5) | public N5Exception() { method N5Exception (line 10) | public N5Exception(final String message) { method N5Exception (line 15) | public N5Exception(final String message, final Throwable cause) { method N5Exception (line 20) | public N5Exception(final Throwable cause) { method N5Exception (line 25) | protected N5Exception( class N5IOException (line 34) | public static class N5IOException extends N5Exception{ method N5IOException (line 36) | public N5IOException(final String message) { method N5IOException (line 41) | public N5IOException(final String message, final Throwable cause) { method N5IOException (line 46) | public N5IOException(final Throwable cause) { method N5IOException (line 51) | protected N5IOException( class N5ClassCastException (line 65) | public static class N5ClassCastException extends N5Exception { method N5ClassCastException (line 68) | public N5ClassCastException(final Class cls) { method N5ClassCastException (line 73) | public N5ClassCastException(final String message) { method N5ClassCastException (line 78) | public N5ClassCastException(final String message, final Throwable ca... method N5ClassCastException (line 83) | public N5ClassCastException(final Throwable cause) { method N5ClassCastException (line 88) | protected N5ClassCastException( class N5NoSuchKeyException (line 98) | public static class N5NoSuchKeyException extends N5IOException { method N5NoSuchKeyException (line 100) | public N5NoSuchKeyException(final String message) { method N5NoSuchKeyException (line 105) | public N5NoSuchKeyException(final String message, final Throwable ca... method N5NoSuchKeyException (line 110) | public N5NoSuchKeyException(final Throwable cause) { method N5NoSuchKeyException (line 115) | protected N5NoSuchKeyException( class N5JsonParseException (line 128) | public static class N5JsonParseException extends N5Exception { method N5JsonParseException (line 129) | public N5JsonParseException(final String message) { method N5JsonParseException (line 134) | public N5JsonParseException(final String message, final Throwable ca... method N5JsonParseException (line 139) | public N5JsonParseException(final Throwable cause) { method N5JsonParseException (line 144) | protected N5JsonParseException( class N5ConcurrentModificationException (line 155) | public static class N5ConcurrentModificationException extends N5IOExce... method N5ConcurrentModificationException (line 157) | public N5ConcurrentModificationException(final String message) { method N5ConcurrentModificationException (line 162) | public N5ConcurrentModificationException(final String message, final... method N5ConcurrentModificationException (line 167) | public N5ConcurrentModificationException(final Throwable cause) { method N5ConcurrentModificationException (line 172) | protected N5ConcurrentModificationException( FILE: src/main/java/org/janelia/saalfeldlab/n5/N5FSReader.java class N5FSReader (line 17) | public class N5FSReader extends N5KeyValueReader { method N5FSReader (line 40) | public N5FSReader(final String basePath, final GsonBuilder gsonBuilder... method N5FSReader (line 71) | public N5FSReader(final String basePath, final boolean cacheMeta) thro... method N5FSReader (line 89) | public N5FSReader(final String basePath, final GsonBuilder gsonBuilder... method N5FSReader (line 104) | public N5FSReader(final String basePath) throws N5Exception { FILE: src/main/java/org/janelia/saalfeldlab/n5/N5FSWriter.java class N5FSWriter (line 12) | public class N5FSWriter extends N5KeyValueWriter { method N5FSWriter (line 41) | public N5FSWriter(final String basePath, final GsonBuilder gsonBuilder... method N5FSWriter (line 75) | public N5FSWriter(final String basePath, final boolean cacheAttributes... method N5FSWriter (line 102) | public N5FSWriter(final String basePath, final GsonBuilder gsonBuilder... method N5FSWriter (line 126) | public N5FSWriter(final String basePath) throws N5Exception { FILE: src/main/java/org/janelia/saalfeldlab/n5/N5KeyValueReader.java class N5KeyValueReader (line 20) | public class N5KeyValueReader implements CachedGsonKeyValueN5Reader { method N5KeyValueReader (line 55) | public N5KeyValueReader( method N5KeyValueReader (line 92) | protected N5KeyValueReader( method inferExistence (line 132) | private boolean inferExistence(String path) { method registerGson (line 138) | protected GsonBuilder registerGson(final GsonBuilder gsonBuilder) { method getAttributesKey (line 147) | @Override method getGson (line 153) | @Override method getKeyValueAccess (line 159) | @Override method getURI (line 165) | @Override method cacheMeta (line 171) | @Override method getCache (line 177) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/N5KeyValueWriter.java class N5KeyValueWriter (line 10) | public class N5KeyValueWriter extends N5KeyValueReader implements Cached... method N5KeyValueWriter (line 39) | public N5KeyValueWriter( FILE: src/main/java/org/janelia/saalfeldlab/n5/N5Reader.java type N5Reader (line 29) | public interface N5Reader extends AutoCloseable { class Version (line 31) | class Version { method Version (line 38) | public Version( method Version (line 50) | public Version( method Version (line 68) | public Version(final String versionString) { method getMajor (line 101) | public final int getMajor() { method getMinor (line 106) | public final int getMinor() { method getPatch (line 111) | public final int getPatch() { method getSuffix (line 116) | public final String getSuffix() { method toString (line 121) | @Override method equals (line 135) | @Override method isCompatible (line 159) | public boolean isCompatible(final Version version) { method getVersion (line 193) | default Version getVersion() throws N5Exception { method getURI (line 203) | URI getURI(); method getAttribute (line 220) | T getAttribute( method getAttribute (line 240) | T getAttribute( method getDatasetAttributes (line 255) | DatasetAttributes getDatasetAttributes(String pathName) throws N5Excep... method getConvertedDatasetAttributes (line 268) | default DatasetAttributes getConvertedDatasetAttributes(final DatasetA... method readChunk (line 288) | DataBlock readChunk( method readChunks (line 311) | default List> readChunks( method readBlock (line 344) | DataBlock readBlock( method blockExists (line 370) | boolean blockExists( method readSerializedBlock (line 394) | default T readSerializedBlock( method exists (line 419) | boolean exists(String pathName); method datasetExists (line 430) | default boolean datasetExists(final String pathName) throws N5Exception { method list (line 444) | String[] list(String pathName) throws N5Exception; method deepList (line 460) | default String[] deepList( method deepList (line 487) | default String[] deepList(final String pathName) throws N5Exception { method deepListDatasets (line 523) | default String[] deepListDatasets( method deepListDatasets (line 572) | default String[] deepListDatasets(final String pathName) throws N5Exce... method deepList (line 592) | static ArrayList deepList( method deepList (line 636) | default String[] deepList( method deepList (line 672) | default String[] deepList( method deepListDatasets (line 722) | default String[] deepListDatasets( method deepListDatasets (line 781) | default String[] deepListDatasets( method deepListHelper (line 808) | static void deepListHelper( method listAttributes (line 848) | Map> listAttributes(String pathName) throws N5Exception; method getGroupSeparator (line 855) | default String getGroupSeparator() { method groupPath (line 868) | default String groupPath(final String... nodes) { method close (line 889) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/N5URI.java class N5URI (line 27) | public class N5URI { method N5URI (line 37) | public N5URI(final String uri) throws URISyntaxException { method N5URI (line 42) | public N5URI(final URI uri) { method getContainerPath (line 59) | public String getContainerPath() { method getURI (line 64) | public URI getURI() { method getGroupPath (line 71) | public String getGroupPath() { method normalizeGroupPath (line 79) | public String normalizeGroupPath() { method getAttributePath (line 87) | public String getAttributePath() { method normalizeAttributePath (line 95) | public String normalizeAttributePath() { method getAttributePathTokens (line 106) | public LinkedAttributePathToken getAttributePathTokens() { method getAttributePathTokens (line 123) | public static LinkedAttributePathToken getAttributePathTokens(final... method getSchemePart (line 159) | private String getSchemePart() { method getContainerPart (line 164) | private String getContainerPart() { method getGroupPart (line 169) | private String getGroupPart() { method getAttributePart (line 174) | private String getAttributePart() { method toString (line 179) | @Override method getSchemeSpecificPartWithoutQuery (line 185) | private String getSchemeSpecificPartWithoutQuery() { method isAbsolute (line 198) | public boolean isAbsolute() { method resolve (line 222) | public N5URI resolve(final N5URI relativeN5Url) throws URISyntaxExcept... method resolve (line 303) | public N5URI resolve(final URI relativeUri) throws URISyntaxException { method resolve (line 320) | public N5URI resolve(final String relativeString) throws URISyntaxExce... method normalizePath (line 337) | private static String normalizePath(String path) { method normalizeGroupPath (line 415) | public static String normalizeGroupPath(final String path) { type N5UriPattern (line 430) | private enum N5UriPattern { method N5UriPattern (line 475) | N5UriPattern(Pattern pattern) { method matches (line 479) | boolean matches(final String input) { method replaceAll (line 483) | String replaceAll(final String input, final String replacement) { method appendSlashAfterArrayStart (line 487) | static String appendSlashAfterArrayStart(final String input) { method addSlashAroundArrayExceptStart (line 491) | static String addSlashAroundArrayExceptStart(final String input) { method removeRelativePathParts (line 495) | static String removeRelativePathParts(final String path) { method normalizeAttributePath (line 549) | public static String normalizeAttributePath(final String attributePath) { method getAsUri (line 577) | public static URI getAsUri(final String uri) throws N5Exception { method encodeAsUriPath (line 590) | public static URI encodeAsUriPath(final String path) { method encodeAsUri (line 608) | public static URI encodeAsUri(final String uri) throws URISyntaxExcept... method from (line 663) | public static N5URI from( method decode (line 679) | @SuppressWarnings("JavadocReference") method decode (line 697) | @SuppressWarnings("JavadocReference") method decodeFragment (line 720) | @SuppressWarnings("JavadocReference") FILE: src/main/java/org/janelia/saalfeldlab/n5/N5Writer.java type N5Writer (line 23) | public interface N5Writer extends N5Reader { method setAttribute (line 34) | default void setAttribute( method setAttributes (line 52) | void setAttributes( method removeAttribute (line 64) | boolean removeAttribute(String groupPath, String attributePath) throws... method removeAttribute (line 81) | T removeAttribute(String groupPath, String attributePath, Class... method removeAttributes (line 96) | default boolean removeAttributes(final String groupPath, final List void writeChunk( method writeChunks (line 239) | default void writeChunks( method writeBlock (line 267) | void writeBlock( type DataBlockSupplier (line 272) | @FunctionalInterface method get (line 283) | DataBlock get(long[] gridPos, DataBlock existingDataBlock); method writeRegion (line 295) | void writeRegion( method writeRegion (line 313) | void writeRegion( method deleteBlock (line 338) | default boolean deleteBlock( method deleteBlock (line 362) | boolean deleteBlock( method deleteChunk (line 378) | default boolean deleteChunk( method deleteChunk (line 397) | boolean deleteChunk( method deleteChunks (line 412) | default boolean deleteChunks( method writeSerializedBlock (line 433) | default void writeSerializedBlock( FILE: src/main/java/org/janelia/saalfeldlab/n5/NameConfigAdapter.java class NameConfigAdapter (line 33) | public class NameConfigAdapter implements JsonDeserializer, JsonSe... method registerAdapter (line 37) | private static void registerAdapter(Class cls) { method getDeclaredFields (line 46) | private static ArrayList getDeclaredFields(Class clazz) { method update (line 55) | @SuppressWarnings("unchecked") method NameConfigAdapter (line 108) | public NameConfigAdapter(Class cls) { method serialize (line 112) | @Override method deserialize (line 156) | @Override method reverseJsonArray (line 216) | private static JsonArray reverseJsonArray(JsonElement paramJson) { method getJsonAdapter (line 225) | public static NameConfigAdapter getJsonAdapter(Class cls) { FILE: src/main/java/org/janelia/saalfeldlab/n5/RawCompression.java class RawCompression (line 8) | @CompressionType("raw") method equals (line 14) | @Override method encode (line 20) | @Override method decode (line 25) | @Override method encodedSize (line 30) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/ReflectionUtils.java class ReflectionUtils (line 6) | class ReflectionUtils { method setFieldValue (line 8) | static void setFieldValue( FILE: src/main/java/org/janelia/saalfeldlab/n5/ShortArrayDataBlock.java class ShortArrayDataBlock (line 3) | public class ShortArrayDataBlock extends AbstractDataBlock { method ShortArrayDataBlock (line 5) | public ShortArrayDataBlock(final int[] size, final long[] gridPosition... FILE: src/main/java/org/janelia/saalfeldlab/n5/StringDataBlock.java class StringDataBlock (line 7) | public class StringDataBlock extends AbstractDataBlock { method StringDataBlock (line 14) | public StringDataBlock(final int[] size, final long[] gridPosition, fi... method StringDataBlock (line 19) | public StringDataBlock(final int[] size, final long[] gridPosition, fi... method readData (line 24) | public void readData(final ByteBuffer buffer) { method serialize (line 34) | protected byte[] serialize(String[] strings) { method deserialize (line 39) | protected String[] deserialize(byte[] rawBytes) { method getNumElements (line 44) | @Override method getData (line 51) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/XzCompression.java class XzCompression (line 11) | @CompressionType("xz") method XzCompression (line 21) | public XzCompression(final int preset) { method XzCompression (line 26) | public XzCompression() { method equals (line 31) | @Override method decode (line 40) | @Override method encode (line 50) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/cache/N5JsonCache.java class N5JsonCache (line 18) | public class N5JsonCache { class N5CacheInfo (line 30) | protected static class N5CacheInfo { method getCache (line 37) | public JsonElement getCache(final String normalCacheKey) { method containsKey (line 45) | public boolean containsKey(final String normalCacheKey) { method isDataset (line 53) | public boolean isDataset() { method isGroup (line 58) | public boolean isGroup() { class EmptyJson (line 64) | @SuppressWarnings("deprecation") method deepCopy (line 67) | @Override method N5JsonCache (line 77) | public N5JsonCache(final N5JsonCacheableContainer container) { method getAttributes (line 82) | public JsonElement getAttributes(final String normalPathKey, final Str... method isDataset (line 102) | public boolean isDataset(final String normalPathKey, final String norm... method isGroup (line 112) | public boolean isGroup(final String normalPathKey, final String cacheK... method exists (line 131) | public boolean exists(final String normalPathKey, final String normalC... method list (line 141) | public String[] list(final String normalPathKey) { method addNewCacheInfo (line 163) | public N5CacheInfo addNewCacheInfo( method addNewCacheInfo (line 201) | private N5CacheInfo addNewCacheInfo(final String normalPathKey) { method addChild (line 206) | private void addChild(final N5CacheInfo cacheInfo, final String normal... method getOrMakeCacheInfo (line 215) | protected N5CacheInfo getOrMakeCacheInfo(final String normalPathKey) { method updateCacheInfo (line 237) | public void updateCacheInfo(final String normalPathKey, final String n... method updateCacheInfo (line 256) | public void updateCacheInfo( method initializeNonemptyCache (line 277) | public void initializeNonemptyCache(final String normalPathKey, final ... method setAttributes (line 289) | public void setAttributes(final String normalPathKey, final String nor... method addChildIfPresent (line 317) | public void addChildIfPresent(final String parent, final String child) { method addChild (line 336) | public void addChild(final String parent, final String child) { method removeCache (line 348) | public void removeCache(final String normalParentPathKey, final String... method getCacheInfo (line 367) | protected N5CacheInfo getCacheInfo(final String pathKey) { method newCacheInfo (line 374) | protected N5CacheInfo newCacheInfo() { method updateCache (line 379) | protected void updateCache(final String normalPathKey, final N5CacheIn... method updateCacheAttributes (line 386) | protected void updateCacheAttributes( method updateCacheIsGroup (line 396) | protected void updateCacheIsGroup(final N5CacheInfo cacheInfo, final b... method updateCacheIsDataset (line 401) | protected void updateCacheIsDataset(final N5CacheInfo cacheInfo, final... FILE: src/main/java/org/janelia/saalfeldlab/n5/cache/N5JsonCacheableContainer.java type N5JsonCacheableContainer (line 17) | public interface N5JsonCacheableContainer { method getAttributesFromContainer (line 30) | JsonElement getAttributesFromContainer(final String normalPathName, fi... method existsFromContainer (line 41) | boolean existsFromContainer(final String normalPathName, final String ... method isGroupFromContainer (line 50) | boolean isGroupFromContainer(final String normalPathName); method isDatasetFromContainer (line 60) | boolean isDatasetFromContainer(final String normalPathName); method isGroupFromAttributes (line 75) | boolean isGroupFromAttributes(final String normalCacheKey, final JsonE... method isDatasetFromAttributes (line 89) | boolean isDatasetFromAttributes(final String normalCacheKey, final Jso... method listFromContainer (line 99) | String[] listFromContainer(final String normalPathName); FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/BlockCodec.java type BlockCodec (line 13) | public interface BlockCodec { method encode (line 33) | ReadData encode(DataBlock dataBlock) throws N5IOException; method decode (line 54) | DataBlock decode(ReadData readData, long[] gridPosition) throws N5I... method encodedSize (line 73) | default long encodedSize(int[] blockSize) throws UnsupportedOperationE... FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/BlockCodecInfo.java type BlockCodecInfo (line 14) | public interface BlockCodecInfo extends CodecInfo, DeterministicSizeCode... method getKeyPositionForBlock (line 16) | default long[] getKeyPositionForBlock(final DatasetAttributes attribut... method getKeyPositionForBlock (line 21) | default long[] getKeyPositionForBlock(final DatasetAttributes attribut... method encodedSize (line 26) | @Override default long encodedSize(long size) { method decodedSize (line 31) | @Override default long decodedSize(long size) { method create (line 36) | BlockCodec create(DataType dataType, int[] blockSize, DataCodec... method create (line 38) | default BlockCodec create(final DatasetAttributes attributes, f... FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/CodecInfo.java type CodecInfo (line 12) | @NameConfig.Prefix("codec") method getType (line 15) | String getType(); FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/CodecParser.java class CodecParser (line 8) | public class CodecParser { method CodecParser (line 14) | public CodecParser(CodecInfo[] codecs) { method parse (line 19) | private void parse(CodecInfo[] codecs) { method concatenateCodecs (line 54) | private static CodecInfo[] concatenateCodecs(DatasetAttributes attribu... FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/ConcatenatedDataCodec.java class ConcatenatedDataCodec (line 5) | class ConcatenatedDataCodec implements DataCodec { method ConcatenatedDataCodec (line 9) | ConcatenatedDataCodec(final DataCodec[] codecs) { method encode (line 17) | @Override method decode (line 26) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/ConcatenatedDeterministicSizeDataCodec.java class ConcatenatedDeterministicSizeDataCodec (line 3) | class ConcatenatedDeterministicSizeDataCodec extends ConcatenatedDataCod... method ConcatenatedDeterministicSizeDataCodec (line 7) | ConcatenatedDeterministicSizeDataCodec(final DeterministicSizeDataCode... method encodedSize (line 13) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/DataCodec.java type DataCodec (line 11) | public interface DataCodec { method decode (line 28) | ReadData decode(ReadData readData) throws N5IOException; method encode (line 44) | ReadData encode(ReadData readData) throws N5IOException; method concatenate (line 57) | static DataCodec concatenate(final DataCodec... codecs) { method create (line 71) | static DataCodec create(final DataCodecInfo... codecInfos) { FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/DataCodecInfo.java type DataCodecInfo (line 10) | @NameConfig.Prefix("data-codec") method create (line 13) | DataCodec create(); FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/DatasetCodec.java type DatasetCodec (line 15) | public interface DatasetCodec { method encode (line 21) | DataBlock encode(DataBlock block) throws N5IOException; method decode (line 23) | DataBlock decode(DataBlock dataBlock) throws N5IOException; method concatenate (line 40) | static BlockCodec concatenate(final DatasetCodec datas... FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/DatasetCodecInfo.java type DatasetCodecInfo (line 12) | @NameConfig.Prefix("data-codec") // TODO: is this Prefix correct? method create (line 15) | DatasetCodec create(final DatasetAttributes attributes); FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/DeterministicSizeCodecInfo.java type DeterministicSizeCodecInfo (line 8) | public interface DeterministicSizeCodecInfo extends CodecInfo { method encodedSize (line 10) | long encodedSize(long size); method decodedSize (line 12) | long decodedSize(long size); FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/DeterministicSizeDataCodec.java type DeterministicSizeDataCodec (line 7) | public interface DeterministicSizeDataCodec extends DataCodec { method encodedSize (line 16) | long encodedSize(long size); method concatenate (line 27) | static DeterministicSizeDataCodec concatenate(final DeterministicSizeD... FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/FlatArrayCodec.java class FlatArrayCodec (line 28) | public abstract class FlatArrayCodec { method encode (line 30) | public abstract ReadData encode(T data) throws N5IOException; method decode (line 32) | public abstract T decode(ReadData readData, int numElements) throws N5... method bytesPerElement (line 34) | public int bytesPerElement() { method newArray (line 38) | public T newArray(final int numElements) { method SHORT (line 62) | public static FlatArrayCodec SHORT(ByteOrder order) { method INT (line 66) | public static FlatArrayCodec INT(ByteOrder order) { method LONG (line 70) | public static FlatArrayCodec LONG(ByteOrder order) { method FLOAT (line 74) | public static FlatArrayCodec FLOAT(ByteOrder order) { method DOUBLE (line 78) | public static FlatArrayCodec DOUBLE(ByteOrder order) { method FlatArrayCodec (line 88) | private FlatArrayCodec(int bytesPerElement, IntFunction dataFactory) { class ByteArrayCodec (line 93) | private static final class ByteArrayCodec extends FlatArrayCodec { method IntArrayCodec (line 144) | IntArrayCodec(ByteOrder order) { method encode (line 149) | @Override method decode (line 156) | @Override class LongArrayCodec (line 166) | private static final class LongArrayCodec extends FlatArrayCodec BlockCodec create( type BlockCodecFactory (line 83) | private interface BlockCodecFactory { method create (line 91) | BlockCodec create(DataCodec dataCodec); class N5AbstractBlockCodec (line 94) | abstract static class N5AbstractBlockCodec implements BlockCodec { method N5AbstractBlockCodec (line 100) | N5AbstractBlockCodec(FlatArrayCodec dataCodec, DataBlockFactory dataBlock,... method encode (line 108) | @Override method decodeBlockHeader (line 120) | abstract BlockHeader decodeBlockHeader(final InputStream in) throws ... method decode (line 122) | @Override class DefaultBlockCodec (line 150) | private static class DefaultBlockCodec extends N5AbstractBlockCodec... method DefaultBlockCodec (line 152) | DefaultBlockCodec( method createBlockHeader (line 160) | @Override method decodeBlockHeader (line 166) | @Override method encodedSize (line 172) | @Override class StringBlockCodec (line 188) | private static class StringBlockCodec extends N5AbstractBlockCodec BlockCodec create( type BlockCodecFactory (line 69) | private interface BlockCodecFactory { method create (line 78) | BlockCodec create(ByteOrder byteOrder, int[] blockSize, DataCodec... class RawBlockCodec (line 81) | private static class RawBlockCodec implements BlockCodec { method RawBlockCodec (line 89) | RawBlockCodec( method encode (line 102) | @Override method decode (line 111) | @Override method encodedSize (line 119) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/checksum/ChecksumCodec.java class ChecksumCodec (line 29) | public abstract class ChecksumCodec implements DataCodec, DataCodecInfo,... method ChecksumCodec (line 37) | public ChecksumCodec(Supplier checksumSupplier, int numCheck... method getChecksum (line 48) | public Checksum getChecksum() { method numChecksumBytes (line 53) | public int numChecksumBytes() { method createStream (line 58) | private CheckedOutputStream createStream(OutputStream out) { method encode (line 74) | @Override public ReadData encode(ReadData readData) { method decode (line 79) | @Override public ReadData decode(ReadData readData) throws N5IOExcepti... method encodedSize (line 97) | @Override method readChecksum (line 103) | protected long readChecksum(ReadData checksumData) { method computeChecksum (line 115) | protected long computeChecksum(ReadData data) { method getChecksumValue (line 126) | public abstract ByteBuffer getChecksumValue(Checksum checksum); method writeChecksum (line 128) | protected void writeChecksum(Checksum checksum, OutputStream out) thro... FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/checksum/ChecksumException.java class ChecksumException (line 3) | public class ChecksumException extends Exception { method ChecksumException (line 7) | public ChecksumException(final String message) { FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/checksum/Crc32cChecksumCodec.java class Crc32cChecksumCodec (line 11) | @NameConfig.Name(Crc32cChecksumCodec.TYPE) method Crc32cChecksumCodec (line 18) | public Crc32cChecksumCodec() { method getChecksumValue (line 23) | @Override method getType (line 31) | @Override method create (line 37) | @Override public DataCodec create() { FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/transpose/Transpose.java class Transpose (line 6) | class Transpose { method encode (line 11) | public static int[] encode(final int[] decodedPos, final int[] order) { method decode (line 17) | public static int[] decode(final int[] encodedPos, final int[] order) { method encode (line 23) | public static void encode(int[] decodedPos, int[] order, int[] encoded... method decode (line 28) | public static void decode(int[] encodedPos, int[] order, int[] decoded... method of (line 33) | @SuppressWarnings("unchecked") method Transpose (line 46) | Transpose(final MemCopy memCopy, final int n) { method encode (line 55) | public void encode(final T decoded, final T encoded, final int[] decod... method decode (line 78) | public void decode(final T encoded, final T decoded, final int[] decod... method copyRecursively (line 98) | private void copyRecursively(final T src, final int srcPos, final T de... method newInstance (line 112) | Transpose newInstance() { FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/transpose/TransposeCodec.java class TransposeCodec (line 7) | public class TransposeCodec implements DatasetCodec { method TransposeCodec (line 14) | public TransposeCodec(final DataType dataType, final int[] order) { method encode (line 21) | @Override method decode (line 29) | @Override method isIdentity (line 37) | public static boolean isIdentity(final int[] permutation) { method isReversal (line 46) | public static boolean isReversal(final int[] permutation) { method invertPermutation (line 55) | public static int[] invertPermutation(final int[] p) { method concatenatePermutations (line 73) | public static int[] concatenatePermutations(final int[] first, final i... method conjugateWithReverse (line 91) | public static int[] conjugateWithReverse(final int[] p) { FILE: src/main/java/org/janelia/saalfeldlab/n5/codec/transpose/TransposeCodecInfo.java class TransposeCodecInfo (line 24) | @NameConfig.Name(value = TransposeCodecInfo.TYPE) method TransposeCodecInfo (line 32) | public TransposeCodecInfo() { method TransposeCodecInfo (line 36) | public TransposeCodecInfo(int[] order) { method getType (line 41) | @Override method getOrder (line 47) | public int[] getOrder() { method create (line 52) | @Override method equals (line 59) | @Override method validate (line 68) | private void validate() { method concatenate (line 80) | public static TransposeCodecInfo concatenate(TransposeCodecInfo[] info... FILE: src/main/java/org/janelia/saalfeldlab/n5/http/ApacheListResponseParser.java class ApacheListResponseParser (line 8) | abstract class ApacheListResponseParser extends PatternListResponseParser { method ApacheListResponseParser (line 14) | ApacheListResponseParser(Pattern pattern) { class ListDirectories (line 19) | static class ListDirectories extends ApacheListResponseParser { method ListDirectories (line 21) | public ListDirectories() { class ListAll (line 27) | static class ListAll extends ApacheListResponseParser { method ListAll (line 29) | public ListAll() { method directoryParser (line 35) | public static ListResponseParser directoryParser() { method parser (line 40) | public static ListResponseParser parser() { FILE: src/main/java/org/janelia/saalfeldlab/n5/http/CandidateListResponseParser.java class CandidateListResponseParser (line 3) | class CandidateListResponseParser implements ListResponseParser { method CandidateListResponseParser (line 9) | CandidateListResponseParser(ListResponseParser[] candidateParsers) { method parseListResponse (line 14) | @Override method successfulParser (line 33) | public ListResponseParser successfulParser() { FILE: src/main/java/org/janelia/saalfeldlab/n5/http/ListResponseParser.java type ListResponseParser (line 3) | public interface ListResponseParser { method parseListResponse (line 13) | String[] parseListResponse(final String response); method defaultListParser (line 15) | public static ListResponseParser defaultListParser() { method defaultDirectoryListParser (line 25) | public static ListResponseParser defaultDirectoryListParser() { FILE: src/main/java/org/janelia/saalfeldlab/n5/http/MicrosoftListResponseParser.java class MicrosoftListResponseParser (line 8) | abstract class MicrosoftListResponseParser extends PatternListResponsePa... method MicrosoftListResponseParser (line 14) | MicrosoftListResponseParser(Pattern pattern) { class ListDirectories (line 19) | static class ListDirectories extends MicrosoftListResponseParser { method ListDirectories (line 21) | public ListDirectories() { class ListAll (line 27) | static class ListAll extends MicrosoftListResponseParser { method ListAll (line 29) | public ListAll() { method directoryParser (line 35) | public static ListResponseParser directoryParser() { method parser (line 40) | public static ListResponseParser parser() { FILE: src/main/java/org/janelia/saalfeldlab/n5/http/PatternListResponseParser.java class PatternListResponseParser (line 14) | class PatternListResponseParser implements ListResponseParser { method PatternListResponseParser (line 18) | public PatternListResponseParser(Pattern pattern) { method parseListResponse (line 23) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/http/PythonListResponseParser.java class PythonListResponseParser (line 8) | abstract class PythonListResponseParser extends PatternListResponseParser { method PythonListResponseParser (line 14) | PythonListResponseParser(Pattern pattern) { class ListDirectories (line 19) | static class ListDirectories extends PythonListResponseParser { method ListDirectories (line 21) | public ListDirectories() { class ListAll (line 27) | static class ListAll extends PythonListResponseParser { method ListAll (line 29) | public ListAll() { method directoryParser (line 35) | public static ListResponseParser directoryParser() { method parser (line 40) | public static ListResponseParser parser() { FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/ByteArrayReadData.java class ByteArrayReadData (line 7) | class ByteArrayReadData implements ReadData { method ByteArrayReadData (line 15) | ByteArrayReadData(final byte[] data) { method ByteArrayReadData (line 20) | ByteArrayReadData(final byte[] data, final int offset, final int lengt... method length (line 35) | @Override method requireLength (line 40) | @Override method inputStream (line 45) | @Override method allBytes (line 51) | @Override method materialize (line 61) | @Override method slice (line 66) | @Override method validBounds (line 73) | private static boolean validBounds(int arrayLength, int offset, int le... FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/InputStreamReadData.java class InputStreamReadData (line 10) | class InputStreamReadData implements ReadData { method InputStreamReadData (line 15) | InputStreamReadData(final InputStream inputStream, final int length) { method length (line 20) | @Override method requireLength (line 25) | @Override method slice (line 35) | @Override method limit (line 41) | @Override method inputStream (line 48) | @Override method allBytes (line 60) | @Override method materialize (line 68) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/LazyGeneratedReadData.java class LazyGeneratedReadData (line 11) | class LazyGeneratedReadData implements ReadData { method LazyGeneratedReadData (line 13) | LazyGeneratedReadData(final ReadData.Generator generator) { method LazyGeneratedReadData (line 26) | LazyGeneratedReadData(final ReadData data, final OutputStreamOperator ... method materialize (line 40) | @Override method length (line 54) | @Override method requireLength (line 59) | @Override method slice (line 69) | @Override method inputStream (line 75) | @Override method allBytes (line 81) | @Override method writeTo (line 87) | @Override method close (line 108) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/LazyRead.java type LazyRead (line 15) | public interface LazyRead extends Closeable { method materialize (line 37) | ReadData materialize(long offset, long length) throws N5IOException; method size (line 47) | long size() throws N5IOException; method prefetch (line 60) | default void prefetch(final Collection ranges) throws... FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/LazyReadData.java class LazyReadData (line 13) | class LazyReadData implements VolatileReadData { method LazyReadData (line 20) | LazyReadData(final LazyRead lazyRead) { method LazyReadData (line 24) | private LazyReadData(final LazyRead lazyRead, final long offset, final... method materialize (line 30) | @Override method slice (line 51) | @Override method inputStream (line 70) | @Override method allBytes (line 76) | @Override method length (line 82) | @Override method requireLength (line 87) | @Override method prefetch (line 95) | @Override method close (line 100) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/Range.java type Range (line 10) | public interface Range { method offset (line 23) | long offset(); method length (line 28) | long length(); method end (line 33) | default long end() { method equals (line 37) | static boolean equals(final Range r0, final Range r1) { method at (line 47) | static Range at(final long offset, final long length) { method aggregate (line 109) | static Collection aggregate(final Collection ranges) throws... method encode (line 224) | default ReadData encode(OutputStreamOperator encoder) { type OutputStreamOperator (line 236) | @FunctionalInterface method apply (line 239) | OutputStream apply(OutputStream o) throws IOException; method from (line 260) | static ReadData from(final InputStream inputStream, final int length) { method from (line 273) | static ReadData from(final InputStream inputStream) { method from (line 290) | static ReadData from(final byte[] data, final int offset, final int le... method from (line 302) | static ReadData from(final byte[] data) { method from (line 314) | static ReadData from(final ByteBuffer data) { type Generator (line 329) | @FunctionalInterface method writeTo (line 331) | void writeTo(OutputStream outputStream) throws IOException, IllegalS... method from (line 342) | static ReadData from(Generator generator) { method empty (line 351) | static ReadData empty() { FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/VolatileReadData.java type VolatileReadData (line 16) | public interface VolatileReadData extends ReadData, AutoCloseable { method close (line 18) | @Override method from (line 31) | static VolatileReadData from(final LazyRead lazyRead) { FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/prefetch/AggregatingPrefetchLazyRead.java class AggregatingPrefetchLazyRead (line 16) | public class AggregatingPrefetchLazyRead extends SliceTrackingLazyRead { method AggregatingPrefetchLazyRead (line 18) | public AggregatingPrefetchLazyRead(final LazyRead delegate) { method prefetch (line 33) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/prefetch/EnclosingPrefetchLazyRead.java class EnclosingPrefetchLazyRead (line 12) | public class EnclosingPrefetchLazyRead extends SliceTrackingLazyRead { method EnclosingPrefetchLazyRead (line 14) | public EnclosingPrefetchLazyRead(final LazyRead delegate) { method prefetch (line 33) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/prefetch/SliceTrackingLazyRead.java class SliceTrackingLazyRead (line 20) | public class SliceTrackingLazyRead implements LazyRead { class Slice (line 22) | protected static class Slice implements Range { method Slice (line 31) | Slice(final long offset, final long length, final ReadData data) { method offset (line 37) | @Override method length (line 42) | @Override method toString (line 47) | @Override method SliceTrackingLazyRead (line 60) | public SliceTrackingLazyRead(final LazyRead delegate) { method close (line 64) | @Override method materialize (line 69) | @Override method size (line 81) | @Override method isCovered (line 86) | protected boolean isCovered(final Range slice) { FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/prefetch/Slices.java class Slices (line 8) | class Slices { method Slices (line 10) | private Slices() { method findContainingSlice (line 33) | static T findContainingSlice(final List slices, f... method findContainingSlice (line 71) | static T findContainingSlice(final List slices, f... method addSlice (line 97) | static void addSlice(final List slices, final T s... FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/segment/ConcatenatedReadData.java class ConcatenatedReadData (line 29) | class ConcatenatedReadData implements SegmentedReadData { method ConcatenatedReadData (line 39) | ConcatenatedReadData(final List content) { method ConcatenatedReadData (line 50) | private ConcatenatedReadData(final ReadData delegate, final List... method DefaultSegmentedReadData (line 140) | DefaultSegmentedReadData(final ReadData delegate) { method location (line 147) | @Override method segments (line 157) | @Override method length (line 162) | @Override method requireLength (line 167) | @Override method slice (line 172) | @Override method slice (line 189) | @Override method inputStream (line 237) | @Override method allBytes (line 242) | @Override method toByteBuffer (line 247) | @Override method materialize (line 252) | @Override method writeTo (line 258) | @Override method prefetch (line 263) | @Override method encode (line 279) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/segment/Segment.java type Segment (line 6) | public interface Segment { method source (line 20) | SegmentedReadData source(); FILE: src/main/java/org/janelia/saalfeldlab/n5/readdata/segment/SegmentedReadData.java type SegmentedReadData (line 19) | public interface SegmentedReadData extends ReadData { type SegmentsAndData (line 21) | interface SegmentsAndData { method segments (line 22) | List segments(); method data (line 23) | SegmentedReadData data(); method wrap (line 36) | static SegmentedReadData wrap(ReadData readData) { method wrap (line 53) | static SegmentsAndData wrap(ReadData readData, Range... locations) { method wrap (line 70) | static SegmentsAndData wrap(ReadData readData, List locations) { method concatenate (line 91) | static SegmentedReadData concatenate(List readDatas) { method location (line 113) | Range location(Segment segment) throws IllegalArgumentException; method segments (line 121) | List segments(); method limit (line 123) | @Override method slice (line 141) | SegmentedReadData slice(Segment segment) throws IllegalArgumentExcepti... method slice (line 155) | @Override method slice (line 169) | @Override method materialize (line 174) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/serialization/JsonArrayUtils.java class JsonArrayUtils (line 6) | public class JsonArrayUtils { method reverse (line 14) | public static void reverse(final JsonArray array) { FILE: src/main/java/org/janelia/saalfeldlab/n5/serialization/N5Annotations.java type N5Annotations (line 19) | public interface N5Annotations extends Serializable { FILE: src/main/java/org/janelia/saalfeldlab/n5/serialization/NameConfig.java type NameConfig (line 30) | public interface NameConfig extends Serializable { method getType (line 120) | default String getType() { FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/DatasetAccess.java type DatasetAccess (line 19) | public interface DatasetAccess { method readChunk (line 38) | DataBlock readChunk(PositionValueAccess pva, long[] gridPosition) t... method readChunks (line 61) | List> readChunks(PositionValueAccess pva, List gr... method writeChunk (line 67) | void writeChunk(PositionValueAccess pva, DataBlock chunk) throws N5... method writeChunks (line 73) | void writeChunks(PositionValueAccess pva, List> chunks) t... method deleteChunk (line 80) | boolean deleteChunk(PositionValueAccess pva, long[] gridPosition) thro... method deleteChunks (line 87) | boolean deleteChunks(PositionValueAccess pva, List gridPositio... method writeRegion (line 102) | void writeRegion( method writeRegion (line 128) | void writeRegion( method readBlock (line 155) | DataBlock readBlock(PositionValueAccess pva, long[] shardGridPositi... method writeBlock (line 175) | void writeBlock(PositionValueAccess pva, DataBlock dataBlock, int l... method getGrid (line 177) | NestedGrid getGrid(); FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/DefaultDatasetAccess.java class DefaultDatasetAccess (line 32) | public class DefaultDatasetAccess implements DatasetAccess { method DefaultDatasetAccess (line 37) | public DefaultDatasetAccess(final NestedGrid grid, final BlockCodec... method getGrid (line 42) | public NestedGrid getGrid() { method readChunk (line 46) | @Override method readChunkRecursive (line 56) | private DataBlock readChunkRecursive( method readChunks (line 74) | @Override method readChunksRecursive (line 108) | private void readChunksRecursive( method writeChunk (line 154) | @Override method writeChunkRecursive (line 175) | private ReadData writeChunkRecursive( method writeChunks (line 199) | @Override method writeChunksRecursive (line 233) | private ReadData writeChunksRecursive( method writeRegion (line 269) | @Override method writeRegion (line 296) | @Override method writeRegionRecursive (line 325) | private ReadData writeRegionRecursive( method deleteChunk (line 384) | @Override method deleteChunkRecursive (line 417) | private ReadData deleteChunkRecursive( method deleteChunks (line 458) | @Override method deleteChunksRecursive (line 514) | private ReadData deleteChunksRecursive( method readBlock (line 620) | @Override method readBlockInternal (line 643) | private DataBlock readBlockInternal( method writeBlock (line 703) | @Override method getRawShard (line 778) | private RawShard getRawShard( class ChunkRequest (line 811) | private static final class ChunkRequest { method ChunkRequest (line 818) | ChunkRequest(final NestedPosition position, final int index) { method ChunkRequest (line 825) | ChunkRequest(final NestedPosition position, final DataBlock chunk) { method toString (line 831) | @Override class ChunkRequests (line 852) | private static final class ChunkRequests implements Iterable> requests, final in... method removeDuplicates (line 875) | public List> removeDuplicates() { method iterator (line 894) | @Override method level (line 908) | public int level() { method gridPosition (line 916) | public long[] gridPosition() { method relativeGridPosition (line 924) | public long[] relativeGridPosition() { method position (line 928) | private NestedPosition position() { method split (line 937) | public List> split() { method coversShard (line 964) | public boolean coversShard() { method chunks (line 982) | public List> chunks(final List> duplica... method createReadRequests (line 1006) | private ChunkRequests createReadRequests(final List gridPos... method createWriteRequests (line 1027) | private ChunkRequests createWriteRequests(final List> ... type DataBlockFactory (line 1045) | private interface DataBlockFactory { method createDataBlock (line 1047) | DataBlock createDataBlock(final int[] blockSize, final long[] gri... method of (line 1049) | @SuppressWarnings("unchecked") FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/DefaultShardCodecInfo.java class DefaultShardCodecInfo (line 19) | @NameConfig.Name(value = "sharding_indexed") method getType (line 22) | @Override method DefaultShardCodecInfo (line 50) | DefaultShardCodecInfo() { method DefaultShardCodecInfo (line 55) | public DefaultShardCodecInfo( method DefaultShardCodecInfo (line 76) | public DefaultShardCodecInfo( method build (line 93) | private void build() { method getInnerBlockSize (line 119) | @Override method getInnerDatasetCodecInfos (line 124) | @Override method getInnerBlockCodecInfo (line 129) | @Override method getInnerDataCodecInfos (line 134) | @Override method getIndexBlockCodecInfo (line 139) | @Override method getIndexDataCodecInfos (line 144) | @Override method getIndexLocation (line 149) | @Override method getCodecs (line 154) | public CodecInfo[] getCodecs() { method getIndexCodecs (line 158) | public CodecInfo[] getIndexCodecs() { method create (line 162) | @Override method concatenateCodecs (line 181) | private static CodecInfo[] concatenateCodecs(BlockCodecInfo blkInfo, D... FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/Nesting.java class Nesting (line 40) | public class Nesting { class NestedPosition (line 46) | public static class NestedPosition implements Comparable in... method RawShard (line 29) | RawShard(final ShardIndex.SegmentIndexAndData segmentIndexAndData) { method sourceData (line 39) | public SegmentedReadData sourceData() { method index (line 49) | public NDArray index() { method isEmpty (line 53) | public boolean isEmpty() { method getElementData (line 57) | public ReadData getElementData(final long[] pos) { method setElementData (line 62) | public void setElementData(final ReadData data, final long[] pos) { method prefetch (line 67) | public void prefetch(List positions) { FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/RawShardCodec.java class RawShardCodec (line 17) | public class RawShardCodec implements BlockCodec { method RawShardCodec (line 27) | RawShardCodec(final int[] size, final IndexLocation indexLocation, fin... method encode (line 35) | @Override method decode (line 73) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/RawShardDataBlock.java class RawShardDataBlock (line 9) | public class RawShardDataBlock implements DataBlock { method RawShardDataBlock (line 15) | RawShardDataBlock(final long[] gridPosition, final RawShard shard) { method getSize (line 23) | @Override method getGridPosition (line 28) | @Override method getNumElements (line 33) | @Override method getData (line 38) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/Region.java class Region (line 14) | public class Region { method Region (line 47) | public Region(final long[] min, final long[] size, final NestedGrid gr... method minPos (line 68) | public Nesting.NestedPosition minPos() { method maxPos (line 75) | public Nesting.NestedPosition maxPos() { method fullyContains (line 92) | public boolean fullyContains(final Nesting.NestedPosition position) { method containedNestedPositions (line 120) | List containedNestedPositions(final Nesting.Ne... method gridPositions (line 141) | public static List gridPositions(final long[] min, final long[... FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/ShardCodecInfo.java type ShardCodecInfo (line 9) | public interface ShardCodecInfo extends BlockCodecInfo { method getInnerBlockSize (line 16) | int[] getInnerBlockSize(); method getInnerDatasetCodecInfos (line 22) | DatasetCodecInfo[] getInnerDatasetCodecInfos(); method getInnerBlockCodecInfo (line 29) | BlockCodecInfo getInnerBlockCodecInfo(); method getInnerDataCodecInfos (line 35) | DataCodecInfo[] getInnerDataCodecInfos(); method getIndexBlockCodecInfo (line 42) | BlockCodecInfo getIndexBlockCodecInfo(); method getIndexDataCodecInfos (line 49) | DataCodecInfo[] getIndexDataCodecInfos(); method getIndexLocation (line 51) | IndexLocation getIndexLocation(); method create (line 53) | @SuppressWarnings("unchecked") method create (line 59) | RawShardCodec create(int[] blockSize, DataCodecInfo... codecs); FILE: src/main/java/org/janelia/saalfeldlab/n5/shard/ShardIndex.java class ShardIndex (line 18) | public class ShardIndex { method ShardIndex (line 20) | private ShardIndex() { type IndexLocation (line 24) | public enum IndexLocation { class NDArray (line 35) | public static class NDArray { method NDArray (line 41) | NDArray(final int[] size, final IntFunction createArray) { method NDArray (line 47) | NDArray(final int[] size, final T[] data) { method get (line 53) | T get(long... position) { method set (line 57) | void set(T value, long... position) { method index (line 61) | private int index(long... position) { method size (line 69) | public int[] size() { method numElements (line 73) | public int numElements() { method allElementsNull (line 77) | public boolean allElementsNull() { method getNumElements (line 87) | static int getNumElements(final int[] size) { method getStrides (line 95) | static int[] getStrides(final int[] size) { method fromDataBlock (line 116) | static NDArray fromDataBlock( final DataBlock block ) { method toDataBlock (line 133) | static DataBlock toDataBlock( final NDArray locations, ... method prepend (line 159) | private static int[] prepend(final int value, final int[] array) { method blockSizeFromIndexSize (line 170) | static int[] blockSizeFromIndexSize(final int[] indexSize) { method indexSizeFromBlockSize (line 177) | static int[] indexSizeFromBlockSize(final int[] blockSize) { method locations (line 187) | static NDArray locations(final NDArray segments, final... type SegmentIndexAndData (line 200) | interface SegmentIndexAndData { method index (line 201) | NDArray index(); method data (line 202) | SegmentedReadData data(); method segments (line 211) | static SegmentIndexAndData segments(final NDArray locations, fi... FILE: src/main/java/org/janelia/saalfeldlab/n5/util/FloatValueParser.java class FloatValueParser (line 15) | public class FloatValueParser { method parseFloat (line 26) | public static float parseFloat(String hexString) throws N5Exception { method encodeFloat (line 40) | public static String encodeFloat(float value) { method validateFloat (line 45) | private static void validateFloat(String hexString) { method parseDouble (line 60) | public static double parseDouble(String hexString) throws N5Exception { method encodeDouble (line 74) | public static String encodeDouble(double value) { method validateDouble (line 79) | private static void validateDouble(String hexString) { method parseBytes (line 94) | public static byte[] parseBytes(String hexString) throws N5Exception { method validateBytes (line 104) | private static void validateBytes(String hexString) { FILE: src/main/java/org/janelia/saalfeldlab/n5/util/MemCopy.java type MemCopy (line 12) | public interface MemCopy { method forDataType (line 21) | static MemCopy forDataType(final DataType dataType) { method copyStrided (line 55) | void copyStrided(T src, int srcPos, T dest, int destPos, int destStrid... class MemCopyByte (line 57) | class MemCopyByte implements MemCopy { method copyStrided (line 59) | @Override class MemCopyShort (line 69) | class MemCopyShort implements MemCopy { method copyStrided (line 71) | @Override class MemCopyInt (line 81) | class MemCopyInt implements MemCopy { method copyStrided (line 83) | @Override class MemCopyLong (line 93) | class MemCopyLong implements MemCopy { method copyStrided (line 95) | @Override class MemCopyFloat (line 105) | class MemCopyFloat implements MemCopy { method copyStrided (line 107) | @Override class MemCopyDouble (line 117) | class MemCopyDouble implements MemCopy { method copyStrided (line 119) | @Override FILE: src/main/java/org/janelia/saalfeldlab/n5/util/SubArrayCopy.java type SubArrayCopy (line 11) | public interface SubArrayCopy method copy (line 34) | static void copy( Object src, int[] srcSize, int[] srcPos, Object dest... method positionToIndex (line 55) | static int positionToIndex( final int[] position, final int[] dimensio... method createAllocationSteps (line 73) | static void createAllocationSteps( final int[] dimensions, final int[]... method createAllocationSteps (line 82) | static int[] createAllocationSteps( final int[] dimensions ) method copyNDRangeRecursive (line 119) | static void copyNDRangeRecursive( FILE: src/test/java/org/janelia/saalfeldlab/n5/AbstractN5Test.java class AbstractN5Test (line 58) | public abstract class AbstractN5Test { method createTempUri (line 78) | public static URI createTempUri(String prefix, String suffix, URI base) { method createTempN5Writer (line 88) | public N5Writer createTempN5Writer() { method createTempN5Writer (line 97) | public final N5Writer createTempN5Writer(String location) { method createTempN5Writer (line 102) | protected final N5Writer createTempN5Writer(String location, GsonBuild... method removeTempWriters (line 114) | @After method tempN5Location (line 128) | protected abstract String tempN5Location() throws URISyntaxException, ... method createN5Writer (line 130) | protected N5Writer createN5Writer() throws IOException, URISyntaxExcep... method createN5Writer (line 135) | protected N5Writer createN5Writer(final String location) throws IOExce... method createN5Writer (line 141) | protected abstract N5Writer createN5Writer(String location, GsonBuilde... method createN5Reader (line 143) | protected N5Reader createN5Reader(final String location) throws IOExce... method createN5Reader (line 148) | protected abstract N5Reader createN5Reader(String location, GsonBuilde... method getCompressions (line 150) | protected Compression[] getCompressions() { method setUpOnce (line 162) | @Before method testCreateGroup (line 182) | @Test method testSetAttributeDoesntCreateGroup (line 197) | @Test method testCreateDataset (line 208) | @Test method testBlocksLargerThanDimensions (line 225) | @Test method testUnalignedBlocksTruncatedAtEnd (line 254) | @Test method testWriteReadByteBlock (line 309) | @Test method testWriteReadStringBlock (line 329) | @Test method testWriteReadShortBlock (line 351) | @Test method testWriteReadIntBlock (line 373) | @Test method testWriteReadLongBlock (line 395) | @Test method testWriteReadFloatBlock (line 417) | @Test method testWriteReadDoubleBlock (line 434) | @Test method testReadChunkVsBlock (line 451) | @Test method testMode1WriteReadByteBlock (line 481) | @Test method testWriteReadSerializableBlock (line 505) | @Test method testWriteInvalidBlock (line 530) | @Test method testOverwriteBlock (line 581) | @Test method testAttributeParsingPrimitive (line 603) | @Test method testAttributes (line 679) | @Test method testDatasetAttributes (line 746) | @Test method testNullAttributes (line 761) | @Test method testRemoveAttributes (line 846) | @Test method testRemoveContainer (line 959) | @Test method testUri (line 973) | @Test method testRemoveGroup (line 983) | @Test method testList (line 994) | @Test method testDeepList (line 1028) | @Test method testExists (line 1145) | @Test method testListAttributes (line 1166) | @Test method testVersion (line 1215) | @Test method testReaderCreation (line 1237) | @Test method testDelete (line 1280) | @Test class TestData (line 1319) | public static class TestData { method TestData (line 1326) | @SuppressWarnings("unchecked") method testAttributePathEquivalence (line 1336) | protected static void testAttributePathEquivalence(final N5Writer writ... method addAndTest (line 1358) | protected static void addAndTest(final N5Writer writer, final ArrayLis... method runTests (line 1379) | protected static void runTests(final N5Writer writer, final ArrayList<... method customObjectTest (line 1387) | @Test method testAttributePaths (line 1422) | @Test method testAttributePathEscaping (line 1534) | @Test method jsonKeyVal (line 1615) | private String jsonKeyVal(final String key, final String val) { method testRootLeaves (line 1620) | @Test method testWriterSeparation (line 1709) | @Test method illegalChars (line 1728) | protected String[] illegalChars() { method testPathsWithIllegalUriCharacters (line 1732) | @Test method assertBlockEquals (line 1764) | public static void assertBlockEquals(final DataBlock expected, fina... method assertDatasetAttributesEquals (line 1792) | protected void assertDatasetAttributesEquals(final DatasetAttributes e... FILE: src/test/java/org/janelia/saalfeldlab/n5/DatasetAttributesTest.java class DatasetAttributesTest (line 20) | public class DatasetAttributesTest { method testValidateBlockShardSizesValid (line 25) | @Test method shardDatasetAttributes (line 73) | private static DatasetAttributes shardDatasetAttributes( method builderTests (line 87) | @Test method testValidateBlockShardSizesInvalid (line 123) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/FileKeyLockManagerTest.java class FileKeyLockManagerTest (line 27) | public class FileKeyLockManagerTest { method setUp (line 31) | @Before method tearDown (line 37) | @After method testConcurrentReads (line 53) | @Test method testReadWriteExclusion (line 118) | @Test class CleanUpHelper (line 164) | private class CleanUpHelper implements Closeable { method CleanUpHelper (line 169) | CleanUpHelper() throws IOException, InterruptedException { method tryWaitForSize (line 176) | private void tryWaitForSize(final int expectedSize) throws IOExcepti... method tryWaitForSize (line 180) | private void tryWaitForSize(final int expectedSize, final int numIte... method close (line 201) | @Override method testLockCleanup (line 207) | @Test method testWriteLockCreatesFile (line 247) | @Test method testWriteLockCreatesParentDirectories (line 266) | @Test method testReadLockRequiresExistingFile (line 287) | @Test method testLocksMapEmptyAfterProperClose (line 293) | @Test method testLocksMapEmptyAfterLeakedChannelIsGCd (line 312) | @Test method acquireAndLeakLock (line 331) | private void acquireAndLeakLock(final Path path) throws IOException { FILE: src/test/java/org/janelia/saalfeldlab/n5/FsLockTest.java class FsLockTest (line 16) | public class FsLockTest { method tempPathName (line 20) | private static String tempPathName() { method testReadLock (line 33) | @Test method testWriteLock (line 67) | @Test method testFSLockRelease (line 98) | @Test method testReadLockBehavior (line 131) | @Test method testWriteLockBehavior (line 175) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/N5Benchmark.java class N5Benchmark (line 40) | public class N5Benchmark { method setUpBeforeClass (line 70) | @BeforeClass method rampDownAfterClass (line 91) | @AfterClass method setUp (line 100) | @Before method testDocExample (line 107) | public void testDocExample() { method benchmarkWritingSpeed (line 124) | public void benchmarkWritingSpeed() { method benchmarkParallelWritingSpeed (line 200) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/N5CachedFSTest.java class N5CachedFSTest (line 26) | public class N5CachedFSTest extends N5FSTest { method createN5Writer (line 28) | @Override method createN5Reader (line 34) | @Override method createN5Writer (line 40) | protected N5Writer createN5Writer(final String location, final GsonBui... method createN5Writer (line 45) | protected N5Writer createN5Writer(final String location, final boolean... method createN5Reader (line 50) | protected N5Reader createN5Reader(final String location, final GsonBui... method createN5Writer (line 55) | @Override protected N5Writer createN5Writer() throws IOException, URIS... method cacheTest (line 66) | @Test method cacheGroupDatasetTest (line 101) | @Test method cacheBehaviorTest (line 141) | @Test method cacheBehaviorHelper (line 154) | public static void cacheBehaviorHelper(final TrackingStorage n5) throw... type TrackingStorage (line 455) | public static interface TrackingStorage extends CachedGsonKeyValueN5Wr... method getAttrCallCount (line 457) | public int getAttrCallCount(); method getExistCallCount (line 458) | public int getExistCallCount(); method getGroupCallCount (line 459) | public int getGroupCallCount(); method getGroupAttrCallCount (line 460) | public int getGroupAttrCallCount(); method getDatasetCallCount (line 461) | public int getDatasetCallCount(); method getDatasetAttrCallCount (line 462) | public int getDatasetAttrCallCount(); method getListCallCount (line 463) | public int getListCallCount(); method getWriteAttrCallCount (line 464) | public int getWriteAttrCallCount(); class N5TrackingStorage (line 467) | public static class N5TrackingStorage extends N5KeyValueWriter impleme... method N5TrackingStorage (line 478) | public N5TrackingStorage(final KeyValueAccess keyValueAccess, final ... method getAttributesFromContainer (line 484) | @Override method existsFromContainer (line 490) | @Override method isGroupFromContainer (line 496) | @Override method isGroupFromAttributes (line 502) | @Override method isDatasetFromContainer (line 508) | @Override method isDatasetFromAttributes (line 514) | @Override method listFromContainer (line 520) | @Override method writeAttributes (line 526) | @Override public void writeAttributes(String normalGroupPath, JsonEl... method getAttrCallCount (line 531) | @Override method getExistCallCount (line 536) | @Override method getGroupCallCount (line 541) | @Override method getGroupAttrCallCount (line 546) | @Override method getDatasetCallCount (line 551) | @Override method getDatasetAttrCallCount (line 556) | @Override method getListCallCount (line 561) | @Override method getWriteAttrCallCount (line 566) | @Override public int getWriteAttrCallCount() { FILE: src/test/java/org/janelia/saalfeldlab/n5/N5FSTest.java class N5FSTest (line 34) | public class N5FSTest extends AbstractN5Test { method tempN5PathName (line 36) | private static String tempN5PathName() { method tempN5Location (line 49) | @Override method createN5Writer (line 56) | @Override method createN5Writer (line 62) | @Override method createN5Reader (line 70) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/N5ReadBenchmark.java class N5ReadBenchmark (line 24) | @State( Scope.Thread ) method tempN5PathName (line 30) | private static String tempN5PathName() { method createData (line 52) | private static void createData() { method createTempN5Writer (line 71) | private static N5Writer createTempN5Writer() { method setup (line 78) | @Setup(Level.Trial) method bench (line 100) | @Benchmark method main (line 107) | public static void main( final String... args ) throws RunnerException... FILE: src/test/java/org/janelia/saalfeldlab/n5/N5URITest.java class N5URITest (line 11) | public class N5URITest { method testAttributePath (line 12) | @Test method testEscapedAttributePaths (line 68) | @Test method testIsAbsolute (line 81) | @Test method testGetRelative (line 96) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/TrackingN5Writer.java class TrackingN5Writer (line 10) | public class TrackingN5Writer extends N5KeyValueWriter { method TrackingN5Writer (line 14) | public TrackingN5Writer(String basePath, KeyValueAccess kva) { method resetNumMaterializeCalls (line 20) | public void resetNumMaterializeCalls() { method getNumMaterializeCalls (line 24) | public int getNumMaterializeCalls() { method resetNumIsFileCalls (line 28) | public void resetNumIsFileCalls() { method getNumIsFileCalls (line 32) | public int getNumIsFileCalls() { method resetTotalBytesRead (line 36) | public void resetTotalBytesRead() { method getTotalBytesRead (line 40) | public long getTotalBytesRead() { method resetAllTracking (line 44) | public void resetAllTracking() { FILE: src/test/java/org/janelia/saalfeldlab/n5/UriTest.java class UriTest (line 12) | public class UriTest { method before (line 24) | @Before method testUriParsing (line 31) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/WriteLockExp.java class WriteLockExp (line 11) | public class WriteLockExp { method WriteLockExp (line 21) | public WriteLockExp(String root, int shardIdx) { method main (line 27) | public static void main(String[] args) { method run (line 36) | public void run() { method getOrCreateDataset (line 63) | public DatasetAttributes getOrCreateDataset(N5Writer n5) { method blockSupplier (line 78) | DataBlockSupplier blockSupplier(final int i, final int[] chunkS... method data (line 93) | static int[] data(final int chunkN, final int value) { FILE: src/test/java/org/janelia/saalfeldlab/n5/backward/CompatibilityTest.java class CompatibilityTest (line 20) | public class CompatibilityTest { method testBackwardReads (line 31) | @Test method backwardReadHelper (line 38) | public void backwardReadHelper(final String base, final String dsetPat... method testBlockData (line 82) | @Test method read (line 114) | private byte[] read(KeyValueAccess kva, String path) { method expectedData (line 125) | private static byte[] expectedData(int size, byte value ) { FILE: src/test/java/org/janelia/saalfeldlab/n5/backward/CreateSampleData.java class CreateSampleData (line 14) | public class CreateSampleData { method main (line 16) | public static void main(String[] args) throws IOException { method createSampleData (line 23) | public static N5FSWriter createSampleData(String baseDir, String datas... method createDataBlock (line 63) | public static ByteArrayDataBlock createDataBlock(int[] size, long[] gr... FILE: src/test/java/org/janelia/saalfeldlab/n5/benchmarks/N5BlockWriteBenchmarks.java class N5BlockWriteBenchmarks (line 39) | @State(Scope.Benchmark) method main (line 68) | public static void main( String[] args ) throws RunnerException { method teardown (line 74) | @TearDown(Level.Trial) method setup (line 81) | @Setup(Level.Trial) method writeBenchmark (line 121) | @Benchmark method readBenchmark (line 129) | @Benchmark method fillBlock (line 139) | private void fillBlock(DataType dtype, DataBlock blk) { method fill (line 181) | private void fill(short[] arr) { method fill (line 186) | private void fill(int[] arr) { method fill (line 191) | private void fill(long[] arr) { method fill (line 196) | private void fill(float[] arr) { method fill (line 201) | private void fill(double[] arr) { method fill (line 206) | private void fill(byte[] arr) { FILE: src/test/java/org/janelia/saalfeldlab/n5/benchmarks/ReadDataBenchmarks.java class ReadDataBenchmarks (line 35) | @State(Scope.Benchmark) method ReadDataBenchmarks (line 51) | public ReadDataBenchmarks() {} method main (line 53) | public static void main(String... args) throws RunnerException { method run (line 61) | @Benchmark method read (line 69) | public VolatileReadData read() throws IOException { method getPath (line 74) | protected Path getPath() { method setup (line 79) | @Setup(Level.Trial) method write (line 94) | protected void write(Path path, int numBytes) { method teardown (line 113) | @TearDown(Level.Trial) method sizes (line 122) | public int[] sizes() { FILE: src/test/java/org/janelia/saalfeldlab/n5/cache/N5CacheTest.java class N5CacheTest (line 19) | public class N5CacheTest { method cacheBackingTest (line 22) | @Test method testCopyOnReadPreventsExternalModification (line 110) | @Test method testCacheManipulationMethods (line 128) | @Test method testChildManagement (line 158) | @Test method testRemoveCacheHierarchy (line 190) | @Test method testListNonExistentGroupThrows (line 222) | @Test(expected = N5Exception.N5IOException.class) method testEmptyCacheInfoBehavior (line 230) | @Test method testEmptyJsonDeepCopyThrows (line 242) | @Test(expected = N5Exception.class) method testCacheStateTransitions (line 247) | @Test class DummyBackingStorage (line 269) | protected static class DummyBackingStorage implements N5JsonCacheableC... method DummyBackingStorage (line 279) | public DummyBackingStorage() { method getAttributesFromContainer (line 282) | public JsonElement getAttributesFromContainer(final String path, fin... method existsFromContainer (line 289) | public boolean existsFromContainer(final String path, final String c... method isGroupFromContainer (line 294) | public boolean isGroupFromContainer(final String path) { method isDatasetFromContainer (line 299) | public boolean isDatasetFromContainer(final String path) { method listFromContainer (line 304) | public String[] listFromContainer(final String path) { method isGroupFromAttributes (line 309) | @Override method isDatasetFromAttributes (line 315) | @Override class DummyNonExistentBackingStorage (line 323) | protected static class DummyNonExistentBackingStorage extends DummyBac... method getAttributesFromContainer (line 325) | @Override method existsFromContainer (line 331) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/codec/BlockCodecTests.java class BlockCodecTests (line 28) | public class BlockCodecTests { method testN5BlockCodec (line 50) | @Test method testRawBytesBlockCodec (line 67) | @Test method testBlockCodecHelper (line 89) | private void testBlockCodecHelper(DatasetAttributes attributes) th... method testEmptyBlock (line 113) | @SuppressWarnings("unchecked") method testEncodedSizeCalculation (line 139) | @Test method createRandomDataBlock (line 181) | private static DataBlock createRandomDataBlock(DataType dataType, i... method verifyCompatibleDataType (line 236) | private static void verifyCompatibleDataType(DataType expectedType, Da... method assertDataEquals (line 267) | private static void assertDataEquals(DataBlock expected, DataBlock<... class TestDatasetAttributes (line 289) | public static class TestDatasetAttributes extends DatasetAttributes { method TestDatasetAttributes (line 291) | public TestDatasetAttributes(long[] dimensions, int[] outerBlockSize... method getDatasetAccess (line 297) | @Override // to make this accessible for the test FILE: src/test/java/org/janelia/saalfeldlab/n5/codec/BytesCodecTests.java class BytesCodecTests (line 19) | public class BytesCodecTests { method setup (line 23) | @BeforeClass method testEncodeDecodeBytes (line 28) | @Test method concatenatedBytesCodecTest (line 47) | @Test class ByteFunctionCodec (line 75) | public static class ByteFunctionCodec implements DataCodec, DataCodecI... method ByteFunctionCodec (line 80) | public ByteFunctionCodec( IntUnaryOperator encoder, IntUnaryOperator... method getType (line 85) | @Override method decode (line 90) | public ReadData decode(ReadData data) { method encode (line 94) | public ReadData encode(ReadData data) { method create (line 98) | @Override public DataCodec create() { class ByteFun (line 104) | private static class ByteFun implements OutputStreamOperator { method ByteFun (line 107) | public ByteFun(IntUnaryOperator fun) { method apply (line 111) | @Override class BitShiftBytesCodec (line 122) | @NameConfig.Name(BitShiftBytesCodec.TYPE) method create (line 124) | @Override public DataCodec create() { method BitShiftBytesCodec (line 134) | public BitShiftBytesCodec() { method BitShiftBytesCodec (line 139) | public BitShiftBytesCodec(int shift) { method getType (line 144) | @Override method decode (line 150) | @Override method encode (line 169) | @Override method equals (line 187) | @Override method hashCode (line 200) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/codec/ChecksumCodecTests.java class ChecksumCodecTests (line 12) | public class ChecksumCodecTests { method testCrc32cChecksumCodec (line 14) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/codec/DatasetCodecTests.java class DatasetCodecTests (line 9) | public class DatasetCodecTests { method testTransposeCodecSimplification (line 11) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/compression/CompressionTypesTest.java class CompressionTypesTest (line 18) | public class CompressionTypesTest { method setUpBeforeClass (line 23) | @BeforeClass method tearDownAfterClass (line 30) | @AfterClass method setUp (line 37) | @Before method tearDown (line 44) | @After method test (line 48) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/demo/AttributePathDemo.java class AttributePathDemo (line 18) | public class AttributePathDemo { method AttributePathDemo (line 22) | public AttributePathDemo() { method main (line 26) | public static void main(String[] args) throws IOException { method demo (line 31) | public void demo() throws IOException { method simple (line 59) | public void simple(final N5FSWriter n5, final String group) throws IOE... method arrays (line 89) | public void arrays(final N5FSWriter n5, final String group) throws IOE... method objects (line 109) | @SuppressWarnings("rawtypes") method specialChars (line 146) | public void specialChars(final N5FSWriter n5, final String group) thro... method removingAttributesAndNulls (line 157) | public void removingAttributesAndNulls(final N5FSWriter n5, final Stri... method getRawJson (line 188) | public String getRawJson(final N5Reader n5, final String group) throws... method printAsJson (line 195) | public void printAsJson(final Object obj) { class Pet (line 199) | class Pet { method Pet (line 203) | public Pet(String name, int age) { method toString (line 208) | public String toString() { FILE: src/test/java/org/janelia/saalfeldlab/n5/http/HttpKeyValueAccessTest.java class HttpKeyValueAccessTest (line 18) | public class HttpKeyValueAccessTest { method testExistsRead (line 24) | @Test method testUnsupportedOperations (line 41) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/http/HttpReaderFsWriter.java class HttpReaderFsWriter (line 25) | public class HttpReaderFsWriter implements GsonKeyValueN5Writer { method HttpReaderFsWriter (line 30) | public T getAttribute(String pathName, String key, Class... method getAttribute (line 81) | @Override public T getAttribute(String pathName, String key, Type ... method getDatasetAttributes (line 86) | @Override public DatasetAttributes getDatasetAttributes(String pathNam... method readChunk (line 91) | @Override public DataBlock readChunk(String pathName, DatasetAttrib... method readSerializedBlock (line 96) | @Override public T readSerializedBlock(String dataset, DatasetAttr... method getKeyValueAccess (line 101) | @Override public KeyValueAccess getKeyValueAccess() { method exists (line 106) | @Override public boolean exists(String pathName) { method datasetExists (line 111) | @Override public boolean datasetExists(String pathName) throws N5Excep... method list (line 116) | @Override public String[] list(String pathName) throws N5Exception { method deepList (line 121) | @Override public String[] deepList(String pathName, Predicate ... method deepList (line 126) | @Override public String[] deepList(String pathName) throws N5Exception { method deepListDatasets (line 131) | @Override public String[] deepListDatasets(String pathName, Predicate<... method deepListDatasets (line 136) | @Override public String[] deepListDatasets(String pathName) throws N5E... method deepList (line 141) | @Override public String[] deepList(String pathName, Predicate ... method deepList (line 146) | @Override public String[] deepList(String pathName, ExecutorService ex... method deepListDatasets (line 151) | @Override public String[] deepListDatasets(String pathName, Predicate<... method deepListDatasets (line 156) | @Override public String[] deepListDatasets(String pathName, ExecutorSe... method getGson (line 161) | @Override public Gson getGson() { method listAttributes (line 166) | @Override public Map> listAttributes(String pathName)... method getGroupSeparator (line 171) | @Override public String getGroupSeparator() { method groupPath (line 176) | @Override public String groupPath(String... nodes) { method close (line 181) | @Override public void close() { method setAttribute (line 187) | @Override public void setAttribute(String groupPath, String attrib... method setAttributes (line 192) | @Override public void setAttributes(String groupPath, Map a... method removeAttribute (line 196) | @Override public boolean removeAttribute(String groupPath, String attr... method removeAttribute (line 201) | @Override public T removeAttribute(String groupPath, String attrib... method removeAttributes (line 206) | @Override public boolean removeAttributes(String groupPath, List void writeChunk(String datasetPath, DatasetAttrib... method writeBlock (line 251) | @Override public void writeBlock(String datasetPath, DatasetAttrib... method deleteChunk (line 255) | @Override public boolean deleteChunk(String datasetPath, long... gridP... method deleteChunks (line 260) | @Override public boolean deleteChunks(String datasetPath, DatasetAttri... method writeSerializedBlock (line 265) | @Override public void writeSerializedBlock(Serializable object, String... method setVersion (line 270) | @Override public void setVersion(String path) { method writeAttributes (line 275) | @Override public void writeAttributes(String normalGroupPath, JsonElem... method setAttributes (line 280) | @Override public void setAttributes(String path, JsonElement attribute... method writeAttributes (line 285) | @Override public void writeAttributes(String normalGroupPath, Map void writeChunks(String datasetPath, DatasetAttri... FILE: src/test/java/org/janelia/saalfeldlab/n5/http/N5HttpTest.java class N5HttpTest (line 28) | @RunWith(RunnerWithHttpServer.class) method tempN5Location (line 37) | @Override method removeTempWriters (line 51) | @After method removeClassTempWriters (line 61) | @AfterClass method createN5Writer (line 75) | @Override method createN5Reader (line 86) | @Override method testVersion (line 95) | @Test method testRemoveGroup (line 115) | @Ignore("N5Writer not supported for HTTP") method testRemoveAttributes (line 120) | @Ignore("N5Writer not supported for HTTP") method testRemoveContainer (line 125) | @Ignore("N5Writer not supported for HTTP") method testDelete (line 130) | @Ignore("N5Writer not supported for HTTP") method testWriterSeparation (line 135) | @Ignore("N5Writer not supported for HTTP") FILE: src/test/java/org/janelia/saalfeldlab/n5/http/RunnerWithHttpServer.java class RunnerWithHttpServer (line 25) | public class RunnerWithHttpServer extends BlockJUnit4ClassRunner { method RunnerWithHttpServer (line 35) | public RunnerWithHttpServer(Class klass) throws Exception { method createTmpServerDirectory (line 40) | private static Path createTmpServerDirectory() throws IOException { method createTest (line 50) | @Override protected Object createTest() throws Exception { method runChild (line 63) | @Override protected void runChild(FrameworkMethod method, RunNotifier ... method logHttpOutput (line 95) | private void logHttpOutput() { method startHttpServer (line 104) | @Before method waitForHttpReady (line 130) | private void waitForHttpReady() throws IOException, InterruptedExcepti... method stopHttpServer (line 147) | @After method withBeforeClasses (line 158) | @Override protected Statement withBeforeClasses(Statement statement) { method withAfterClasses (line 165) | @Override protected Statement withAfterClasses(Statement statement) { FILE: src/test/java/org/janelia/saalfeldlab/n5/kva/AbstractKeyValueAccessTest.java class AbstractKeyValueAccessTest (line 17) | public abstract class AbstractKeyValueAccessTest { method newKeyValueAccess (line 19) | protected abstract KeyValueAccess newKeyValueAccess(URI root); method newKeyValueAccess (line 21) | protected KeyValueAccess newKeyValueAccess() { method tempUri (line 26) | protected abstract URI tempUri(); method testURIs (line 28) | protected URI[] testURIs(final URI base) { method testPathComponents (line 59) | protected String[][] testPathComponents(final URI base) { method testComponentsAtLocation (line 84) | protected void testComponentsAtLocation(URI testRoot) { method testComposeAtLocation (line 99) | protected void testComposeAtLocation(URI uri) { method testComponents (line 119) | @Test method testComponentsWithPathSlash (line 125) | @Test method testComponentsWithPathEmpty (line 132) | @Test method testCompose (line 139) | @Test method testComposeWithPathSlash (line 157) | @Test method testComposeWithPathEmpty (line 174) | @Test method assertComposeEquals (line 191) | public void assertComposeEquals(String reason, KeyValueAccess kva, URI... method setUriPath (line 197) | public URI setUriPath(final URI uri, final String path) { FILE: src/test/java/org/janelia/saalfeldlab/n5/kva/DelegateKeyValueAccess.java class DelegateKeyValueAccess (line 11) | public class DelegateKeyValueAccess implements KeyValueAccess { method DelegateKeyValueAccess (line 15) | public DelegateKeyValueAccess(KeyValueAccess kva) { this.kva = kva; } method components (line 17) | @Override method compose (line 22) | @Override method compose (line 27) | @Override method parent (line 32) | @Override method relativize (line 37) | @Override method normalize (line 42) | @Override method uri (line 47) | @Override method exists (line 52) | @Override method size (line 57) | @Override method isDirectory (line 62) | @Override method isFile (line 67) | @Override method createReadData (line 72) | @Override method write (line 77) | @Override method listDirectories (line 82) | @Override method list (line 87) | @Override method createDirectories (line 92) | @Override method delete (line 98) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/kva/FileSystemKeyValueAccessTest.java class FileSystemKeyValueAccessTest (line 25) | public class FileSystemKeyValueAccessTest extends AbstractKeyValueAccess... method newKeyValueAccess (line 33) | @Override method newKeyValueAccess (line 39) | @Override method testURIs (line 45) | @Override method testComponentsAtLocation (line 62) | @Override method getPathFromFileURI (line 86) | private Path getPathFromFileURI(URI fileUri) { method testPathComponents (line 101) | @Override method tempUri (line 132) | @Override method testComposeAtLocation (line 147) | protected void testComposeAtLocation(URI uri) { method testComponentsWithPathEmpty (line 166) | @Override method testComposeWithPathEmpty (line 175) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/kva/FsLockingValidation.java class FsLockingValidation (line 15) | @Command( method main (line 44) | public static void main(String[] args) { method call (line 48) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/kva/HttpKeyValueAccessTest.java class HttpKeyValueAccessTest (line 17) | @RunWith(RunnerWithHttpServer.class) method newKeyValueAccess (line 27) | @Override protected KeyValueAccess newKeyValueAccess(URI root) { method newKeyValueAccess (line 32) | @Override protected KeyValueAccess newKeyValueAccess() { method tempUri (line 37) | @Override protected URI tempUri() { FILE: src/test/java/org/janelia/saalfeldlab/n5/kva/TrackingKeyValueAccess.java class TrackingKeyValueAccess (line 10) | public class TrackingKeyValueAccess extends DelegateKeyValueAccess { method TrackingKeyValueAccess (line 17) | public TrackingKeyValueAccess(final KeyValueAccess kva) { method isFile (line 21) | @Override method createReadData (line 27) | @Override class TrackingLazyRead (line 38) | private class TrackingLazyRead implements LazyRead { method TrackingLazyRead (line 42) | TrackingLazyRead(final VolatileReadData readData) { method size (line 46) | @Override method materialize (line 52) | @Override method close (line 59) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/locking/JustFileChannels.java class JustFileChannels (line 16) | public class JustFileChannels { method write (line 47) | static void write(String path, boolean doLock, final Random random) { method tryLockWait (line 89) | static FileLock tryLockWait(FileChannel channel, boolean shared) throw... method verify (line 109) | static void verify(String path, boolean doLock) { method main (line 147) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/org/janelia/saalfeldlab/n5/locking/JustFileChannelsThreaded.java class JustFileChannelsThreaded (line 7) | public class JustFileChannelsThreaded { method main (line 9) | public static void main(String[] args) throws InterruptedException { FILE: src/test/java/org/janelia/saalfeldlab/n5/readdata/RangeTests.java class RangeTests (line 13) | public class RangeTests { method testAggregate (line 15) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/readdata/ReadDataTests.java class ReadDataTests (line 21) | public class ReadDataTests { method testLazyReadData (line 23) | @Test method testByteArrayReadData (line 40) | @Test method testInputStreamReadData (line 56) | @Test method testFileKvaReadData (line 73) | @Test method readDataTestHelper (line 96) | private void readDataTestHelper( ReadData readData, int N, int materia... method readDataTestEncodeHelper (line 102) | private void readDataTestEncodeHelper( ReadData readData, int N ) thro... method sliceTestHelper (line 118) | private void sliceTestHelper( ReadData readData, int N ) throws IOExce... class ByteFun (line 140) | private static class ByteFun implements OutputStreamOperator { method ByteFun (line 143) | public ByteFun(IntUnaryOperator fun) { method apply (line 147) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/readdata/prefetch/SliceTrackingLazyReadTests.java class SliceTrackingLazyReadTests (line 15) | public class SliceTrackingLazyReadTests { method testDefaultSliceTracking (line 17) | @Test method testAggregatingSliceTracking (line 57) | @Test method createDummyLazyRead (line 132) | private static DummyLazyRead createDummyLazyRead(int size) { method assertStoredSlices (line 146) | private static void assertStoredSlices(TestableSliceTracker sliceTrack... class TestableDefaultSliceTracker (line 163) | static class TestableDefaultSliceTracker extends EnclosingPrefetchLazy... method TestableDefaultSliceTracker (line 164) | public TestableDefaultSliceTracker(LazyRead delegate) { method getSlices (line 168) | @Override class TestableAggregatingSliceTracker (line 177) | static class TestableAggregatingSliceTracker extends AggregatingPrefet... method TestableAggregatingSliceTracker (line 178) | public TestableAggregatingSliceTracker(LazyRead delegate) { method getSlices (line 182) | @Override type TestableSliceTracker (line 191) | interface TestableSliceTracker { method getSlices (line 192) | List getSlices(); class DummyLazyRead (line 195) | static class DummyLazyRead implements LazyRead { method DummyLazyRead (line 200) | public DummyLazyRead( ReadData data ) { method close (line 204) | @Override method materialize (line 209) | @Override method size (line 216) | @Override method getNumMaterializeCalls (line 222) | public int getNumMaterializeCalls() { method resetNumMaterializeCalls (line 227) | public void resetNumMaterializeCalls() { FILE: src/test/java/org/janelia/saalfeldlab/n5/readdata/prefetch/SlicesTest.java class SlicesTest (line 11) | public class SlicesTest { method createSlices (line 13) | private List createSlices(final long[] offsets, final long[] le... method testFindContaining (line 21) | @Test method testAddSlice (line 81) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/readdata/segment/ConcatenatedReadDataTest.java class ConcatenatedReadDataTest (line 16) | public class ConcatenatedReadDataTest { method fillData (line 20) | @Before method createKnownLength (line 37) | private SegmentsAndData createKnownLength() { method createUnknownLength (line 55) | private SegmentsAndData createUnknownLength() { method createConcatenate (line 102) | private SegmentsAndData createConcatenate() { method checkSegmentLocations (line 146) | private static void checkSegmentLocations(final SegmentsAndData segmen... method checkSegmentRange (line 153) | private static void checkSegmentRange(final SegmentsAndData data, fina... method testConcatenateUnmaterialized (line 165) | @Test(expected = IllegalStateException.class) method testConcatenateMaterialize (line 177) | @Test method testConcatenateWriteTo (line 188) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/readdata/segment/SegmentTest.java class SegmentTest (line 12) | public class SegmentTest { method createReadData (line 18) | @Before method testWrap (line 29) | @Test method testWrapOrder (line 52) | @Test method testSlice (line 78) | @Test method testSliceSegment (line 100) | @Test method testPartialSliceSegment (line 118) | @Test method testWrapFully (line 137) | @Test method testSliceFullyWrapped (line 156) | @Test method testSliceSegmentFullyWrapped (line 177) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/serialization/CodecSerializationTest.java class CodecSerializationTest (line 23) | public class CodecSerializationTest { method before (line 27) | @Before method testCodecSerialization (line 38) | @Test method testSerializeCodecArray (line 58) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/DatasetAccessTest.java class DatasetAccessTest (line 28) | public class DatasetAccessTest { method setup (line 40) | @Before method testWriteReadIndividual (line 72) | @Test method testWriteReadBulk (line 94) | @Test method testDeleteBlock (line 122) | @Test method keyExists (line 151) | private boolean keyExists(final PositionValueAccess store, final long[... method testDeleteBlocks (line 162) | @Test method checkBlock (line 191) | private static void checkBlock(final DataBlock dataBlock, fina... method createDataBlock (line 203) | private static DataBlock createDataBlock(int[] size, long[] gr... class TestDatasetAttributes (line 210) | public static class TestDatasetAttributes extends DatasetAttributes { method TestDatasetAttributes (line 212) | public TestDatasetAttributes(long[] dimensions, int[] outerBlockSize... method getDatasetAccess (line 218) | @Override // to make this accessible for the test FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/NestedGridTest.java class NestedGridTest (line 14) | public class NestedGridTest { method absPosition1D (line 16) | private static long absPosition1D(final NestedGrid grid, final int sou... method testValidateInput (line 20) | @Test method testAbsolutePosition (line 26) | @Test method testAbsolutePositionChunkSize (line 41) | @Test method relPosition1D (line 52) | private static long relPosition1D(final NestedGrid grid, final int sou... method testRelativePosition (line 56) | @Test method testRelativePositionChunkSize (line 68) | @Test method testNd (line 79) | @Test method testNestedPositionOrder (line 93) | @Test FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/ShardTest.java class ShardTest (line 38) | @RunWith(Parameterized.class) method createTempN5Writer (line 45) | @Override public N5Writer createTempN5Writer() { method tempN5PathName (line 63) | private String tempN5PathName() { method data (line 77) | @Parameterized.Parameters(name = "IndexLocation({0}), Index ByteOrder(... method removeTempWriters (line 98) | @After method getTestAttributes (line 104) | private DatasetAttributes getTestAttributes(long[] dimensions, int[] s... method getTestAttributes (line 109) | private DatasetAttributes getTestAttributes(DataType dataType, long[] ... method getTestAttributes (line 126) | protected DatasetAttributes getTestAttributes() { method writeReadChunksTest (line 131) | @Test method ensureKeysExist (line 248) | private void ensureKeysExist(KeyValueAccess kva, URI uri, String dataset, method ensureKeysDoNotExist (line 257) | private void ensureKeysDoNotExist(KeyValueAccess kva, URI uri, String ... method writeShardDataSizeTest (line 266) | @Test method writeReadChunkTest (line 353) | @Test method writeReadShardTest (line 394) | @Test method numReadsTest (line 473) | public void numReadsTest() { method shardExistsTest (line 525) | @Test method testPartialReadAggregationBehavior (line 585) | @Test method range (line 654) | private int[] range(int N) { FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/TestPositionValueAccess.java class TestPositionValueAccess (line 22) | public class TestPositionValueAccess implements PositionValueAccess { method get (line 26) | @Override method set (line 32) | public void set(final long[] key, final ReadData data) { method exists (line 43) | @Override method remove (line 48) | @Override class Key (line 53) | private static class Key { method Key (line 57) | Key(long[] data) { method equals (line 62) | @Override method hashCode (line 72) | @Override class ClosableWrapper (line 79) | private static class ClosableWrapper implements VolatileReadData { method ClosableWrapper (line 83) | ClosableWrapper(final ReadData delegate) { method length (line 87) | @Override method requireLength (line 92) | @Override method limit (line 97) | @Override method slice (line 102) | @Override method slice (line 107) | @Override method inputStream (line 112) | @Override method allBytes (line 117) | @Override method toByteBuffer (line 122) | @Override method materialize (line 127) | @Override method writeTo (line 133) | @Override method prefetch (line 138) | @Override method encode (line 143) | @Override method close (line 148) | @Override FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/WriteRegionTest.java class WriteRegionTest (line 18) | public class WriteRegionTest { method testWriteRegion (line 21) | @Test method testWriteRegionSharded (line 91) | @Test method checkChunk (line 233) | private static void checkChunk(final DataBlock chunk, final bo... method checkKey (line 252) | private static void checkKey(PositionValueAccess pva, long[] position,... method createDataBlock (line 263) | private static DataBlock createDataBlock(int[] size, long[] gr... class TestDatasetAttributes (line 269) | public static class TestDatasetAttributes extends DatasetAttributes { method TestDatasetAttributes (line 271) | public TestDatasetAttributes(long[] dimensions, int[] outerBlockSize... method getDatasetAccess (line 277) | @Override // to make this accessible for the test FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/WriteShardTest.java class WriteShardTest (line 23) | public class WriteShardTest { method main (line 31) | public static void main(String[] args) { method testShardDatasetAccess (line 95) | @Test method testWriteNullBlockRemovesShard (line 135) | @Test method createDataBlock (line 263) | private static DataBlock createDataBlock(int[] size, long[] gri... class TestDatasetAttributes (line 269) | public static class TestDatasetAttributes extends DatasetAttributes { method TestDatasetAttributes (line 271) | public TestDatasetAttributes(long[] dimensions, int[] outerBlockSize... method getDatasetAccess (line 277) | @Override // to make this accessible for the test FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/WriteShardTest2.java class WriteShardTest2 (line 15) | public class WriteShardTest2 { method main (line 23) | public static void main(String[] args) { method createDataBlock (line 90) | private static DataBlock createDataBlock(int[] size, long[] gri... class TestDatasetAttributes (line 96) | public static class TestDatasetAttributes extends DatasetAttributes { method TestDatasetAttributes (line 98) | public TestDatasetAttributes(long[] dimensions, int[] outerBlockSize... method getDatasetAccess (line 104) | @Override // to make this accessible for the test FILE: src/test/java/org/janelia/saalfeldlab/n5/shard/WriteShardTestTruncate.java class WriteShardTestTruncate (line 15) | public class WriteShardTestTruncate { method main (line 23) | public static void main(String[] args) { method createDataBlock (line 98) | private static DataBlock createDataBlock(int[] size, long[] gri... class TestDatasetAttributes (line 104) | public static class TestDatasetAttributes extends DatasetAttributes { method TestDatasetAttributes (line 106) | public TestDatasetAttributes(long[] dimensions, int[] outerBlockSize... method getDatasetAccess (line 112) | @Override // to make this accessible for the test FILE: src/test/java/org/janelia/saalfeldlab/n5/url/UriAttributeTest.java class UriAttributeTest (line 25) | public class UriAttributeTest { method before (line 41) | @Before method testRootAttributes (line 58) | @SuppressWarnings("unchecked") method testPathAttributes (line 107) | @Test method getAttribute (line 157) | private T getAttribute( method getAttribute (line 165) | private T getAttribute( method getAttribute (line 175) | private T getAttribute( method getAttribute (line 183) | private T getAttribute( method testPathObject (line 193) | @Test method mapsEqual (line 225) | private boolean mapsEqual(final Map a, final Map b) { class TestObject (line 238) | private static class TestObject { method TestObject (line 246) | public TestObject(final String type, final String name, final T t) { method t (line 253) | public T t() { method equals (line 258) | @Override class TestDoubles (line 271) | public static class TestDoubles extends TestObject { method TestDoubles (line 273) | public TestDoubles(final String type, final String name, final doubl... method equals (line 278) | @Override class TestInts (line 291) | private static class TestInts extends TestObject { method TestInts (line 293) | public TestInts(final String type, final String name, final int[] t) { method equals (line 298) | @Override