1 4 package com.tc.objectserver.impl; 5 6 import com.tc.objectserver.api.ObjectManagerLookupResults; 7 8 import java.util.Collections ; 9 import java.util.Map ; 10 import java.util.Set ; 11 12 public class ObjectManagerLookupResultsImpl implements ObjectManagerLookupResults { 13 14 private final Map objects; 15 private final Set lookupPendingObjectIDs; 16 17 public ObjectManagerLookupResultsImpl(Map objects ) { 18 this(objects, Collections.EMPTY_SET); 19 } 20 21 public ObjectManagerLookupResultsImpl(Map objects, Set lookupPendingObjectIDs) { 22 this.objects = objects; 23 this.lookupPendingObjectIDs = lookupPendingObjectIDs; 24 } 25 26 public Map getObjects() { 27 return this.objects; 28 } 29 30 public Set getLookupPendingObjectIDs() { 31 return lookupPendingObjectIDs; 32 } 33 } 34 | Popular Tags |