1 21 package org.jacorb.collection; 22 23 24 25 import org.omg.CosCollection.*; 26 27 import org.jacorb.collection.util.*; 28 29 import java.util.*; 30 import org.omg.PortableServer.POA ; 31 32 import org.omg.PortableServer.Servant ; 33 34 import org.omg.CORBA.Any ; 35 36 import org.omg.CORBA.AnyHolder ; 37 38 39 40 public class SortedRelationImpl 41 42 extends EqualityKeySortedCollectionImpl 43 44 implements SortedRelationOperations 45 46 { 47 48 49 50 51 52 public SortedRelationImpl( OperationsOperations ops, POA poa, 53 54 IteratorFactory iterator_factory, int expected_size ) 55 56 { 57 58 super( ops, poa, iterator_factory ); 59 60 data = new SortedVector( new SortedRelationComparator(ops), expected_size ); 61 62 keys = new SortedVector( new KeyComparator(ops) ); 63 64 }; 65 66 67 68 69 70 public synchronized int compare(SortedRelation collector, 71 72 org.omg.CosCollection.Comparator comparison) 73 74 { 75 76 throw new org.omg.CORBA.NO_IMPLEMENT (); 77 78 }; 79 80 81 82 83 84 }; 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | Popular Tags |