|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.DeduplicableRegistry
public class DeduplicableRegistry
A registry of deduplicable objects.
| Nested Class Summary | |
|---|---|
protected static class |
DeduplicableRegistry.DeduplicableMap<T extends Deduplicable>
|
protected static class |
DeduplicableRegistry.DeduplicableWrapper<T extends Deduplicable>
|
| Constructor Summary | |
|---|---|
DeduplicableRegistry()
|
|
| Method Summary | ||
|---|---|---|
|
deduplicate(T object)
Search for a duplicate of a given object in the registry, and add the object to the registry if no duplicate found. |
|
protected
|
typeMap(T object)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeduplicableRegistry()
| Method Detail |
|---|
public <T extends Deduplicable> T deduplicate(T object)
object - the object to be searched or added
protected <T extends Deduplicable> DeduplicableRegistry.DeduplicableMap<T> typeMap(T object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||