KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > debug > core > IJavaPrimitiveValue


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.debug.core;
12
13  
14 /**
15  * A primitive value on a Java debug target.
16  * <p>
17  * Clients are not intended to implement this interface.
18  * </p>
19  * @since 2.0
20  */

21 public interface IJavaPrimitiveValue extends IJavaValue {
22     
23     /**
24      * Returns this value as a boolean.
25      *
26      * @return this value as a boolean
27      */

28     public boolean getBooleanValue();
29     
30     /**
31      * Returns this value as a byte
32      *
33      * @return this value as a byte
34      */

35     public byte getByteValue();
36     
37     /**
38      * Returns this value as a char
39      *
40      * @return this value as a char
41      */

42     public char getCharValue();
43     
44     /**
45      * Returns this value as a double
46      *
47      * @return this value as a double
48      */

49     public double getDoubleValue();
50     
51     /**
52      * Returns this value as a float
53      *
54      * @return this value as a float
55      */

56     public float getFloatValue();
57     
58     /**
59      * Returns this value as an int
60      *
61      * @return this value as an int
62      */

63     public int getIntValue();
64     
65     /**
66      * Returns this value as a long
67      *
68      * @return this value as a long
69      */

70     public long getLongValue();
71     
72     /**
73      * Returns this value as a short
74      *
75      * @return this value as a short
76      */

77     public short getShortValue();
78 }
79
Popular Tags