org.millscript.millscript.datatypes
Class Maplet
java.lang.Object
org.millscript.millscript.datatypes.Maplet
- All Implemented Interfaces:
- java.util.Map.Entry<java.lang.Object,java.lang.Object>
Deprecated. As of MillScript 10.2.0, this functionallity has been subsumed
by the MillScript-Util project and it's Map API, see
Maplet.
@Deprecated
public final class Maplet
- extends java.lang.Object
- implements java.util.Map.Entry<java.lang.Object,java.lang.Object>
This class represents a MillScript maplet, which is the same as a Java
Map.Entry.
|
Constructor Summary |
Maplet(java.lang.Object a,
java.lang.Object b)
Deprecated. Constructs a new Maplet with the specified key and value. |
|
Method Summary |
java.lang.Object |
getKey()
Deprecated. |
java.lang.Object |
getValue()
Deprecated. |
java.lang.Object |
setValue(java.lang.Object obj)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
equals, hashCode |
Maplet
public Maplet(java.lang.Object a,
java.lang.Object b)
- Deprecated.
- Constructs a new Maplet with the specified key and value.
- Parameters:
a - the maplet's keyb - the maplet's value
getKey
public java.lang.Object getKey()
- Deprecated.
- Specified by:
getKey in interface java.util.Map.Entry<java.lang.Object,java.lang.Object>
- See Also:
Map.Entry.getKey()
getValue
public java.lang.Object getValue()
- Deprecated.
- Specified by:
getValue in interface java.util.Map.Entry<java.lang.Object,java.lang.Object>
- See Also:
Map.Entry.getValue()
setValue
public java.lang.Object setValue(java.lang.Object obj)
- Deprecated.
- Specified by:
setValue in interface java.util.Map.Entry<java.lang.Object,java.lang.Object>
- Throws:
java.lang.UnsupportedOperationException- See Also:
Map.Entry.setValue(java.lang.Object)
Copyright © 2001-2007 Open World Ltd. All Rights Reserved.