containerlocation.java
来自「Java的面向对象数据库系统的源代码」· Java 代码 · 共 43 行
JAVA
43 行
// You can redistribute this software and/or modify it under the terms of// the Ozone Core License version 1 published by ozone-db.org.//// Copyright (C) 2003-@year@, Leo Mekenkamp. All rights reserved.//// $Id: ContainerLocation.java,v 1.3 2004/03/21 21:05:51 leomekenkamp Exp $package org.ozoneDB.core.storage.gammaStore;/** * Holds information on where exactly object data has been (or can be) * persisted. Objects are written to clusters, where the position has the * offset of where within a cluster the serialized object data starts. * * @author <a href="mailto:leoATmekenkampD0Tcom">Leo Mekenkamp (mind the anti sp@m)</a> * @version $Id: ContainerLocation.java,v 1.3 2004/03/21 21:05:51 leomekenkamp Exp $ */public final class ContainerLocation { private int dataFileId; private int position; public ContainerLocation() { } public ContainerLocation(int dataFileId, int position) { this.dataFileId = dataFileId; this.position = position; } public String toString() { return "(dataFileId: " + dataFileId + "; pos: " + position + ")"; } public int getDataFileId() { return dataFileId; } public int getPosition() { return position; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?