KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > tree > Generation


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: Generation.java,v 1.12 2006/10/30 21:14:26 bostic Exp $
7  */

8
9 package com.sleepycat.je.tree;
10
11 public final class Generation {
12     static private long nextGeneration = 0;
13
14     static long getNextGeneration() {
15     return nextGeneration++;
16     }
17 }
18
Popular Tags