1 /*******************************************************************************
2 * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
9 * Contributors: Matthew Khouzam - Initial API and implementation
10 * Contributors: Simon Marchi - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.ctf
.core
.event
;
15 import java
.util
.HashMap
;
19 public class CTFClock
{
24 final private HashMap
<String
, Object
> properties
= new HashMap
<String
, Object
>();
31 * Method addAttribute.
35 public void addAttribute(String key
, Object value
) {
36 this.properties
.put(key
, value
);
37 if (key
.equals("name")) { //$NON-NLS-1$
38 this.name
= (String
) value
;
46 public String
getName() {
55 public Object
getProperty(String key
) {
56 return properties
.get(key
);
This page took 0.030825 seconds and 5 git commands to generate.