Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.net.cache
Class SimpleOverflowMap.FrontFilterConverter

java.lang.Object
  extended by com.tangosol.net.cache.SimpleOverflowMap.FrontFilterConverter
All Implemented Interfaces:
Converter, Filter
Enclosing class:
SimpleOverflowMap

protected static class SimpleOverflowMap.FrontFilterConverter
extends java.lang.Object
implements Filter, Converter

A combination Filter and Converter used to iterate through the status map in order to iterate through the front keys.


Field Summary
static SimpleOverflowMap.FrontFilterConverter INSTANCE
           
 
Constructor Summary
protected SimpleOverflowMap.FrontFilterConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Object o)
          Extracts the key from the Status object.
 boolean evaluate(java.lang.Object o)
          Filters keys out that are not in the front map.
 

Field Detail

INSTANCE

public static final SimpleOverflowMap.FrontFilterConverter INSTANCE
Constructor Detail

SimpleOverflowMap.FrontFilterConverter

protected SimpleOverflowMap.FrontFilterConverter()
Method Detail

evaluate

public boolean evaluate(java.lang.Object o)
Filters keys out that are not in the front map.

Specified by:
evaluate in interface Filter
Parameters:
o - the object to test
Returns:
true if the test passes, false otherwise

convert

public java.lang.Object convert(java.lang.Object o)
Extracts the key from the Status object.

Specified by:
convert in interface Converter
Returns:
the new, converted object

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.