Class TableMapImpl
- java.lang.Object
-
- de.tudresden.inf.lat.tabulas.table.TableMapImpl
-
- All Implemented Interfaces:
TableMap
,Serializable
,scala.Equals
,scala.Product
public class TableMapImpl extends Object implements TableMap, scala.Product, Serializable
This is the default implementation of a table map.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableMapImpl(scala.collection.immutable.Map<String,Table> mapOfTables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableMapImpl
apply()
static TableMapImpl
apply(TableMap otherTableMap)
Constructs a new table map using another one.scala.Option<Table>
getTable(String id)
Returns an optional containing the value associated to the given key, or an empty optional if there is no association.scala.collection.immutable.Seq<String>
getTableIds()
Returns the identifiers of the stored tables.scala.collection.immutable.Map<String,Table>
mapOfTables()
TableMapImpl
put(String id, Table table)
String
toString()
-
-
-
Method Detail
-
apply
public static TableMapImpl apply()
-
apply
public static TableMapImpl apply(TableMap otherTableMap)
Constructs a new table map using another one.- Parameters:
otherTableMap
- other table map- Returns:
- (undocumented)
-
put
public TableMapImpl put(String id, Table table)
-
getTableIds
public scala.collection.immutable.Seq<String> getTableIds()
Description copied from interface:TableMap
Returns the identifiers of the stored tables.- Specified by:
getTableIds
in interfaceTableMap
- Returns:
- the identifiers of the stored tables
-
-