public Collection values()
    {
        if (values == null) {
            values = new AbstractCollectionView()
            {
                public Iterator iterator()
                                throws ObjectManagerException
                {
                    return new Iterator()
                    {
                        private Iterator i = entrySet().iterator();

                        public boolean hasNext(Transaction transaction)
                                        throws ObjectManagerException
                        {
                            return i.hasNext(transaction);
                        }

                        public boolean hasNext()
                                        throws ObjectManagerException
                        {
                            return i.hasNext();
                        }

                        public Object next(Transaction transaction)
                                        throws ObjectManagerException
                        {
                            return ((Entry) i.next(transaction)).getValue();
                        }

                        public Object next()
                                        throws ObjectManagerException
                        {
                            return ((Entry) i.next()).getValue();
                        }

                        public Object remove(Transaction transaction)
                                        throws ObjectManagerException
                        {
                            return i.remove(transaction);
                        }
                    };
                }

                public long size(Transaction transaction)
                                throws ObjectManagerException
                {
                    return AbstractMap.this.size(transaction);
                }

                public long size()
                                throws ObjectManagerException
                {
                    return AbstractMap.this.size();
                }

                public boolean contains(Token value,
                                        Transaction transaction)
                                throws ObjectManagerException
                {
                    return AbstractMap.this.containsValue(value,
                                                          transaction);
                }
            };
        }
        return values;
    }
public Collection values ( ) { if ( values == null ) { values = new AbstractCollectionView ( ) { public Iterator iterator ( ) throws ObjectManagerException { return new Iterator ( ) { private Iterator i = entrySet ( ) . iterator ( ) ; public boolean hasNext ( Transaction transaction ) throws ObjectManagerException { return i . hasNext ( transaction ) ; } public boolean hasNext ( ) throws ObjectManagerException { return i . hasNext ( ) ; } public Object next ( Transaction transaction ) throws ObjectManagerException { return ( ( Entry ) i . next ( transaction ) ) . getValue ( ) ; } public Object next ( ) throws ObjectManagerException { return ( ( Entry ) i . next ( ) ) . getValue ( ) ; } public Object remove ( Transaction transaction ) throws ObjectManagerException { return i . remove ( transaction ) ; } } ; } public long size ( Transaction transaction ) throws ObjectManagerException { return AbstractMap . this . size ( transaction ) ; } public long size ( ) throws ObjectManagerException { return AbstractMap . this . size ( ) ; } public boolean contains ( Token value , Transaction transaction ) throws ObjectManagerException { return AbstractMap . this . containsValue ( value , transaction ) ; } } ; } return values ; }
@return Collection view of the Tokens in this map.