com.sun.jini.norm
Class ClientLeaseMapWrapper.EntrySet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
com.sun.jini.norm.ClientLeaseMapWrapper.EntrySet
- All Implemented Interfaces:
- Iterable, Collection, Set
- Enclosing class:
- ClientLeaseMapWrapper
private final class ClientLeaseMapWrapper.EntrySet
- extends AbstractSet
An implementation of Set backed by the ClientLeaseMapWrapper's
mappings, which are from wrapperMap's values to clientLeaseMap
ClientLeaseMapWrapper.EntrySet
private ClientLeaseMapWrapper.EntrySet()
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface Set
- Specified by:
iterator
in class AbstractCollection
getClientLease
private Lease getClientLease(Object o)
- If the passed object is a Map.Entry that is in the
ClientMapWrapper return the client lease associated with it,
otherwise return null
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection
- Specified by:
contains
in interface Set
- Overrides:
contains
in class AbstractCollection
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface Set
- Overrides:
remove
in class AbstractCollection
size
public int size()
- Specified by:
size
in interface Collection
- Specified by:
size
in interface Set
- Specified by:
size
in class AbstractCollection
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface Set
- Overrides:
clear
in class AbstractCollection
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.