candy.conf
Class Index
java.lang.Object
|
+--candy.core.candyObject
|
+--candy.conf.Index
- All Implemented Interfaces:
- net.jini.core.entry.Entry, java.io.Serializable
- public class Index
- extends candyObject
a candyObject (entry for the JavaSpace) that represents
either the Head or Tail of a Member's Channel
- See Also:
- Serialized Form
|
Field Summary |
java.lang.String |
channel
identifier for this Channel (MemberID of owner) |
java.lang.Integer |
position
current position (index) in Channel |
java.lang.String |
type
identifier as to whether this is the Head or Tail |
|
Constructor Summary |
Index()
|
Index(java.lang.String type,
java.lang.String channel)
|
Index(java.lang.String type,
java.lang.String channel,
java.lang.Integer position)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public java.lang.String type
- identifier as to whether this is the Head or Tail
channel
public java.lang.String channel
- identifier for this Channel (MemberID of owner)
position
public java.lang.Integer position
- current position (index) in Channel
Index
public Index()
Index
public Index(java.lang.String type,
java.lang.String channel)
Index
public Index(java.lang.String type,
java.lang.String channel,
java.lang.Integer position)
getChannel
public java.lang.String getChannel()
getPosition
public java.lang.Integer getPosition()
increment
public void increment()