c56b587e82888f48b55f2ff0fd7cea0e1c904617
1 /*******************************************************************************
2 * Copyright (c) 2012, 2014 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
.tracecompass
.tmf
.ctf
.core
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.util
.Pair
;
18 * Pair of Enum value name and its long value.
20 * @author Bernd Hufmann
22 public class CtfEnumPair
extends Pair
<String
, Long
> {
25 * Constructs a CtfEnumPair
28 * The first parameter of the pair (String)
30 * The second parameter of the pair (Long)
32 public CtfEnumPair(String strValue
, Long longValue
) {
33 super(strValue
, longValue
);
37 * Returns the String value of the Enum.
39 * @return the string value
41 public String
getStringValue() {
46 * Returns the long value of the Enum.
48 * @return the Long value
50 public Long
getLongValue() {
55 public String
toString() {
This page took 0.041506 seconds and 4 git commands to generate.