org.jactr.core.module.declarative.search.map
Class DefaultValueMap<V,I>

java.lang.Object
  extended by org.jactr.core.module.declarative.search.map.DefaultValueMap<V,I>
All Implemented Interfaces:
IValueMap<V,I>
Direct Known Subclasses:
SortedValueMap

public class DefaultValueMap<V,I>
extends java.lang.Object
implements IValueMap<V,I>


Field Summary
static org.apache.commons.logging.Log LOGGER
          logger definition
 
Constructor Summary
DefaultValueMap()
           
 
Method Summary
 void add(V value, I indexable)
           
 java.util.Collection<I> all()
           
 void clear()
           
 void clear(V value)
           
 java.util.Collection<I> get(V value)
           
 java.util.Collection<I> greaterThan(V value)
           
 java.util.Collection<I> lessThan(V value)
           
 java.util.Collection<I> not(V value)
           
 void remove(V value, I indexable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final org.apache.commons.logging.Log LOGGER
logger definition

Constructor Detail

DefaultValueMap

public DefaultValueMap()
Method Detail

add

public void add(V value,
                I indexable)
Specified by:
add in interface IValueMap<V,I>

clear

public void clear(V value)
Specified by:
clear in interface IValueMap<V,I>

clear

public void clear()
Specified by:
clear in interface IValueMap<V,I>

get

public java.util.Collection<I> get(V value)
Specified by:
get in interface IValueMap<V,I>

greaterThan

public java.util.Collection<I> greaterThan(V value)
                                    throws java.lang.UnsupportedOperationException
Specified by:
greaterThan in interface IValueMap<V,I>
Throws:
java.lang.UnsupportedOperationException

lessThan

public java.util.Collection<I> lessThan(V value)
                                 throws java.lang.UnsupportedOperationException
Specified by:
lessThan in interface IValueMap<V,I>
Throws:
java.lang.UnsupportedOperationException

not

public java.util.Collection<I> not(V value)
Specified by:
not in interface IValueMap<V,I>

remove

public void remove(V value,
                   I indexable)
Specified by:
remove in interface IValueMap<V,I>

all

public java.util.Collection<I> all()
Specified by:
all in interface IValueMap<V,I>