Klasse CDORevisionCrawler.OutputStreamHandler.IDMapper.InMemory
java.lang.Object
org.eclipse.emf.cdo.common.revision.CDORevisionCrawler.OutputStreamHandler.IDMapper
org.eclipse.emf.cdo.common.revision.CDORevisionCrawler.OutputStreamHandler.IDMapper.InMemory
- Umschließende Klasse:
CDORevisionCrawler.OutputStreamHandler.IDMapper
public static final class CDORevisionCrawler.OutputStreamHandler.IDMapper.InMemory
extends CDORevisionCrawler.OutputStreamHandler.IDMapper
In-memory implementation of IDMapper.
Stores all mappings in memory using a LinkedHashMap to preserve insertion order.
- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.common.revision.CDORevisionCrawler.OutputStreamHandler.IDMapper
CDORevisionCrawler.OutputStreamHandler.IDMapper.InMemory -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidIterates over all real IDs that have been mapped.Looks up the mapped local ID for a real ID.protected voidRegisters a mapping from real ID to local ID.Von Klasse geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionCrawler.OutputStreamHandler.IDMapper
getNextMappedID, map
-
Konstruktordetails
-
InMemory
public InMemory()Constructs an in-memory IDMapper.
-
-
Methodendetails
-
lookup
Looks up the mapped local ID for a real ID.- Angegeben von:
lookupin KlasseCDORevisionCrawler.OutputStreamHandler.IDMapper- Parameter:
realID- the real ID- Gibt zurück:
- the mapped local ID
-
forEach
Iterates over all real IDs that have been mapped.- Angegeben von:
forEachin KlasseCDORevisionCrawler.OutputStreamHandler.IDMapper- Parameter:
realIDConsumer- the consumer for real IDs
-
register
Registers a mapping from real ID to local ID.- Angegeben von:
registerin KlasseCDORevisionCrawler.OutputStreamHandler.IDMapper- Parameter:
realID- the real IDmappedID- the local ID
-