org.rhq.core.util
Interface IntExtractor<T>


public interface IntExtractor<T>

Extracts an integer value.

Author:
Lukas Krejci

Method Summary
 int extract(T object)
          Extracts an integer value out of the supplied object.
 

Method Detail

extract

int extract(T object)
Extracts an integer value out of the supplied object. The "meaning" of the integer is dictated by the caller of this method.

An appropriate implementation of this interface must be used for appropriate purposes.

Parameters:
object -
Returns:


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.