org.inria.ns.reflex.util
Class EntryFactory.Impl

java.lang.Object
  extended by org.inria.ns.reflex.util.EntryFactory.Impl
All Implemented Interfaces:
EntryBuilder, EntryFactory
Enclosing interface:
EntryFactory

public abstract static class EntryFactory.Impl
extends Object
implements EntryFactory

A partial implementation of an entry factory.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.util.EntryFactory
EntryFactory.Impl
 
Constructor Summary
EntryFactory.Impl()
           
 
Method Summary
 boolean hasRemovableEntries()
          Return false
 boolean hasUpdatableEntries()
          Return false
 Map.Entry newEntry(Object key, Object value)
          Return null
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.inria.ns.reflex.util.EntryFactory
containsKey, getEntry, getKeys
 

Constructor Detail

EntryFactory.Impl

public EntryFactory.Impl()
Method Detail

hasRemovableEntries

public boolean hasRemovableEntries()
Return false

Specified by:
hasRemovableEntries in interface EntryFactory
Returns:
false

hasUpdatableEntries

public boolean hasUpdatableEntries()
Return false

Specified by:
hasUpdatableEntries in interface EntryFactory
Returns:
false

newEntry

public Map.Entry newEntry(Object key,
                          Object value)
                   throws UnsupportedOperationException
Return null

Specified by:
newEntry in interface EntryBuilder
Specified by:
newEntry in interface EntryFactory
Parameters:
key - Unused
value - Unused
Returns:
null
Throws:
UnsupportedOperationException - When this factory doesn't allow the creation of new entries.