MATSIM
utils
objectattributes
attributable
Attributes.java
Go to the documentation of this file.
1
2
/* *********************************************************************** *
3
* project: org.matsim.*
4
* Attributes.java
5
* *
6
* *********************************************************************** *
7
* *
8
* copyright : (C) 2019 by the members listed in the COPYING, *
9
* LICENSE and WARRANTY file. *
10
* email : info at matsim dot org *
11
* *
12
* *********************************************************************** *
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* See also COPYING, LICENSE and WARRANTY file *
19
* *
20
* *********************************************************************** */
21
22
package
org.matsim.utils.objectattributes.attributable;
23
24
import
java.util.*;
25
29
public
interface
Attributes
{
30
31
public
Object
putAttribute
(
final
String attribute,
final
Object value);
32
33
public
Object
getAttribute
(
final
String attribute);
34
35
public
Object
removeAttribute
(
final
String attribute );
36
37
public
void
clear
();
38
39
public
Map<String, Object>
getAsMap
();
40
41
public
int
size
();
42
43
public
boolean
isEmpty
();
44
}
org.matsim.utils.objectattributes.attributable.Attributes.size
int size()
org.matsim.utils.objectattributes.attributable.Attributes.getAttribute
Object getAttribute(final String attribute)
org.matsim.utils.objectattributes.attributable.Attributes
Definition:
Attributes.java:29
org.matsim.utils.objectattributes.attributable.Attributes.putAttribute
Object putAttribute(final String attribute, final Object value)
org.matsim.utils.objectattributes.attributable.Attributes.isEmpty
boolean isEmpty()
org.matsim.utils.objectattributes.attributable.Attributes.getAsMap
Map< String, Object > getAsMap()
org.matsim.utils.objectattributes.attributable.Attributes.clear
void clear()
org.matsim.utils.objectattributes.attributable.Attributes.removeAttribute
Object removeAttribute(final String attribute)
Generated by
1.8.13