KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > impl > ObjectManagerLookupResultsImpl


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

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