com.sleepycat.je.rep.elections
Class Protocol.StringValue

java.lang.Object
  extended by com.sleepycat.je.rep.impl.TextProtocol.StringFormatable
      extended by com.sleepycat.je.rep.elections.Protocol.StringValue
All Implemented Interfaces:
Protocol.Value, TextProtocol.WireFormatable
Direct Known Subclasses:
MasterValue
Enclosing class:
Protocol

public static class Protocol.StringValue
extends TextProtocol.StringFormatable
implements Protocol.Value

A String based value implementation used as the "default" Value


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.TextProtocol.StringFormatable
s
 
Constructor Summary
Protocol.StringValue()
           
Protocol.StringValue(String s)
           
 
Method Summary
 String getString()
           
 String toString()
           
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.StringFormatable
equals, hashCode, init, wireFormat
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sleepycat.je.rep.impl.TextProtocol.WireFormatable
wireFormat
 

Constructor Detail

Protocol.StringValue

Protocol.StringValue()

Protocol.StringValue

public Protocol.StringValue(String s)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getString

public String getString()


Copyright (c) 2004-2012 Oracle. All rights reserved.