org.eclipse.emf.emfstore.internal.server.conflictDetection
Class LinkedHashMapWithConflictBucketCandidate<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,V>
              extended by org.eclipse.emf.emfstore.internal.server.conflictDetection.LinkedHashMapWithConflictBucketCandidate<V>
Type Parameters:
V - the value type of the map
All Implemented Interfaces:
Serializable, Cloneable, Map<String,V>
Direct Known Subclasses:
FeatureNameReservationMap, OppositeReservationMap

public abstract class LinkedHashMapWithConflictBucketCandidate<V>
extends LinkedHashMap<String,V>

LinkedHashMap with an additional ConflictBucketCandidate field. The Key is a String.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
LinkedHashMapWithConflictBucketCandidate()
           
 
Method Summary
abstract  Set<ConflictBucketCandidate> getAllConflictBucketCandidates()
          Returns all ConflictBucketCandidates.
 ConflictBucketCandidate getConflictBucketCandidate()
          Returns the ConflictBucketCandidate.
 void setConflictBucketCandidate(ConflictBucketCandidate conflictBucketCandidate)
          Sets the ConflictBucketCandidate for this map.
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

LinkedHashMapWithConflictBucketCandidate

public LinkedHashMapWithConflictBucketCandidate()
Method Detail

getConflictBucketCandidate

public ConflictBucketCandidate getConflictBucketCandidate()
Returns the ConflictBucketCandidate.

Returns:
the candidate

setConflictBucketCandidate

public void setConflictBucketCandidate(ConflictBucketCandidate conflictBucketCandidate)
Sets the ConflictBucketCandidate for this map.

Parameters:
conflictBucketCandidate - the candidate to set

getAllConflictBucketCandidates

public abstract Set<ConflictBucketCandidate> getAllConflictBucketCandidates()
Returns all ConflictBucketCandidates.

Returns:
a set of candidates.


Copyright © 2015. All Rights Reserved.