org.apache.activemq.leveldb.record
Class CollectionKey.Bean
java.lang.Object
org.apache.activemq.leveldb.record.CollectionKey.Bean
- All Implemented Interfaces:
- CollectionKey.Getter, org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
- Enclosing class:
- CollectionKey
public static final class CollectionKey.Bean
- extends java.lang.Object
- implements CollectionKey.Getter
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CollectionKey.Bean
public CollectionKey.Bean()
CollectionKey.Bean
public CollectionKey.Bean(CollectionKey.Bean copy)
copy
public CollectionKey.Bean copy()
- Specified by:
copy in interface CollectionKey.Getter- Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
frozen
public boolean frozen()
- Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
freeze
public CollectionKey.Buffer freeze()
- Specified by:
freeze in interface CollectionKey.Getter- Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
hasKey
public boolean hasKey()
- Specified by:
hasKey in interface CollectionKey.Getter
getKey
public long getKey()
- Specified by:
getKey in interface CollectionKey.Getter
setKey
public CollectionKey.Bean setKey(long key)
clearKey
public void clearKey()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb,
java.lang.String prefix)
- Specified by:
toString in interface CollectionKey.Getter
mergeUnframed
public CollectionKey.Bean mergeUnframed(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
mergeUnframed
public CollectionKey.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(CollectionKey.Bean obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
mergeFrom
public CollectionKey.Bean mergeFrom(CollectionKey.Getter other)
clear
public void clear()
readExternal
public void readExternal(java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.