public class MapEntry
extends java.lang.Object
implements java.util.Map.Entry
Title: Dataspace Framework
Description: Serializable Map.Entry implementation.
Copyright: Copyright (c) 2014
Company: StreamScape Technologies
Constructor and Description |
---|
MapEntry(java.lang.Object key,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getKey() |
java.lang.Object |
getValue()
Returns the value corresponding to this entry.
|
int |
hashCode() |
java.lang.Object |
setValue(java.lang.Object value)
Replaces the value corresponding to this entry with the specified
value.
|
java.lang.String |
toString() |
public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
value
- new value to be stored in this entrypublic boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.