com.ibm.xtools.emf.query.conditions.numbers
Class NumberAdapter.IntegerAdapter
java.lang.Object
com.ibm.xtools.emf.query.conditions.numbers.NumberAdapter
com.ibm.xtools.emf.query.conditions.numbers.NumberAdapter.IntegerAdapter
- Enclosing class:
- NumberAdapter
- public abstract static class NumberAdapter.IntegerAdapter
- extends NumberAdapter
A subclass of NumberAdapter
to be used to adapt an
argument object to int
values Clients can either use the
default implemantation supplied or have their own.
Field Summary |
static NumberAdapter.IntegerAdapter |
DEFAULT
The simplest IntegerAdapter implementation that
represents the case when to argument object to adapt is a Integer
object itself. |
Method Summary |
abstract int |
intValue(Object object)
An adapting function whose responsible of extracting the
int value of interest from an the argument object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final NumberAdapter.IntegerAdapter DEFAULT
- The simplest
IntegerAdapter
implementation that
represents the case when to argument object to adapt is a Integer
object itself.
NumberAdapter.IntegerAdapter
public NumberAdapter.IntegerAdapter()
intValue
public abstract int intValue(Object object)
- An adapting function whose responsible of extracting the
int
value of interest from an the argument object
- Parameters:
object
- The Object
to adapt to int
- Returns:
- The
int
value of interest that got extracted
by this adapter from the argument object
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.