public class DeduplicableRegistry extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
DeduplicableRegistry.DeduplicableMap<T extends Deduplicable> |
protected static class |
DeduplicableRegistry.DeduplicableWrapper<T extends Deduplicable> |
Constructor and Description |
---|
DeduplicableRegistry() |
Modifier and Type | Method and Description |
---|---|
<T extends Deduplicable> |
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 <T extends Deduplicable> |
typeMap(T object) |
public <T extends Deduplicable> T deduplicate(T object)
object
- the object to be searched or addedprotected <T extends Deduplicable> DeduplicableRegistry.DeduplicableMap<T> typeMap(T object)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.