1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made 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
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.util
.Pair
;
18 * Pair of Enum value name and its long value.
20 * @author Bernd Hufmann
23 public class CtfEnumPair
extends Pair
<String
, Long
> {
26 * Constructs a CtfEnumPair
29 * The first parameter of the pair (String)
31 * The second parameter of the pair (Long)
33 public CtfEnumPair(String strValue
, Long longValue
) {
34 super(strValue
, longValue
);
38 * Returns the String value of the Enum.
40 * @return the string value
42 public String
getStringValue() {
47 * Returns the long value of the Enum.
49 * @return the Long value
51 public Long
getLongValue() {
57 * @see org.eclipse.linuxtools.tmf.core.util.Pair#toString()
60 public String
toString() {
This page took 0.032708 seconds and 5 git commands to generate.