public final class ConnectionCosts extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FILENAME_SUFFIX |
static String |
HEADER |
static int |
VERSION |
| Constructor and Description |
|---|
ConnectionCosts(BinaryDictionary.ResourceScheme scheme,
String path) |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int forwardId,
int backwardId) |
static ConnectionCosts |
getInstance() |
public static final String FILENAME_SUFFIX
public static final String HEADER
public static final int VERSION
public ConnectionCosts(BinaryDictionary.ResourceScheme scheme, String path) throws IOException
scheme - - scheme for loading resources (FILE or CLASSPATH).path - - where to load resources from, without the ".dat" suffixIOExceptionpublic int get(int forwardId,
int backwardId)
public static ConnectionCosts getInstance()
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.