org.ops4j.peaberry.cache
Class ImmutableAttribute
java.lang.Object
org.ops4j.peaberry.cache.ImmutableAttribute
- All Implemented Interfaces:
- Map.Entry<String,Object>
public final class ImmutableAttribute
- extends Object
- implements Map.Entry<String,Object>
Snapshot of an entry from a service attribute map.
- Author:
- mcculls@gmail.com (Stuart McCulloch)
ImmutableAttribute
public ImmutableAttribute(String key,
Object value)
getKey
public String getKey()
- Specified by:
getKey in interface Map.Entry<String,Object>
getValue
public Object getValue()
- Specified by:
getValue in interface Map.Entry<String,Object>
setValue
public Object setValue(Object value)
- Specified by:
setValue in interface Map.Entry<String,Object>
equals
public boolean equals(Object rhs)
- Specified by:
equals in interface Map.Entry<String,Object>- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map.Entry<String,Object>- Overrides:
hashCode in class Object
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.