Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core.dom
Class PrefixExpression.Operator

java.lang.Object
  extended by 
org.eclipse.jdt.core.dom.PrefixExpression.Operator
Enclosing class:
PrefixExpression

public static class PrefixExpression.Operator
extends Object

Prefix operators (typesafe enumeration).

 PrefixOperator:
    
++
  INCREMENT
    
--
  DECREMENT
    
+
  PLUS
    
-
  MINUS
    
~
  COMPLEMENT
    
!
  NOT
 


Field Summary
static  PrefixExpression.Operator COMPLEMENT
          Bitwise complement "~" operator.
static  PrefixExpression.Operator DECREMENT
          Prefix decrement "--" operator.
static  PrefixExpression.Operator INCREMENT
          Prefix increment "++" operator.
static  PrefixExpression.Operator MINUS
          Unary minus "-" operator.
static  PrefixExpression.Operator NOT
          Logical complement "!"
static  PrefixExpression.Operator PLUS
          Unary plus "+" operator.
 
Method Summary
static  PrefixExpression.Operator toOperator ( String token)
          Returns the prefix operator corresponding to the given string, or null if none.
  String toString ()
          Returns the character sequence for the operator.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INCREMENT

public static final 
PrefixExpression.Operator INCREMENT
Prefix increment "++" operator.


DECREMENT

public static final 
PrefixExpression.Operator DECREMENT
Prefix decrement "--" operator.


PLUS

public static final 
PrefixExpression.Operator PLUS
Unary plus "+" operator.


MINUS

public static final 
PrefixExpression.Operator MINUS
Unary minus "-" operator.


COMPLEMENT

public static final 
PrefixExpression.Operator COMPLEMENT
Bitwise complement "~" operator.


NOT

public static final 
PrefixExpression.Operator NOT
Logical complement "!" operator.

Method Detail

toString

public 
String toString()
Returns the character sequence for the operator.

Overrides:
toString in class Object
Returns:
the character sequence for the operator

toOperator

public static 
PrefixExpression.Operator toOperator(
String token)
Returns the prefix operator corresponding to the given string, or null if none.

toOperator is the converse of toString: that is, Operator.toOperator(op.toString()) == op for all operators op.

Parameters:
token - the character sequence for the operator
Returns:
the prefix operator, or null if none

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire