X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.utils.datastructures%2Fsrc%2Forg%2Fsimantics%2Futils%2Fdatastructures%2Fcache%2FRegistry.java;h=7f752f3500f09022c4405fa68c4f415a96e0f634;hp=ec3b7d4c213db4f38bc39ca4e7e83ece989826b8;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/cache/Registry.java b/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/cache/Registry.java index ec3b7d4c2..7f752f350 100644 --- a/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/cache/Registry.java +++ b/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/cache/Registry.java @@ -1,49 +1,49 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -/* - * - * @author Toni Kalajainen - */ -package org.simantics.utils.datastructures.cache; - -import java.util.Hashtable; -import java.util.Map; - -/** - * Registry is a value store where values are pre-registered and not - * requested on-demand as with strong and weak caches. - * - * All values must be explicitly provided and removed. - * - * - */ -public class Registry extends Hashtable implements IMapProvider, Map { - - private static final long serialVersionUID = 8509496982057736486L; - - public Registry() { - super(); - } - - public Registry(int initialCapacity, float loadFactor) { - super(initialCapacity, loadFactor); - } - - public Registry(int initialCapacity) { - super(initialCapacity); - } - - public Registry(Map t) { - super(t); - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +/* + * + * @author Toni Kalajainen + */ +package org.simantics.utils.datastructures.cache; + +import java.util.Hashtable; +import java.util.Map; + +/** + * Registry is a value store where values are pre-registered and not + * requested on-demand as with strong and weak caches. + * + * All values must be explicitly provided and removed. + * + * + */ +public class Registry extends Hashtable implements IMapProvider, Map { + + private static final long serialVersionUID = 8509496982057736486L; + + public Registry() { + super(); + } + + public Registry(int initialCapacity, float loadFactor) { + super(initialCapacity, loadFactor); + } + + public Registry(int initialCapacity) { + super(initialCapacity); + } + + public Registry(Map t) { + super(t); + } + +}