|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evernote.edam.notestore.NoteCollectionCounts
public class NoteCollectionCounts
A data structure representing the number of notes for each notebook and tag with a non-zero set of applicable notes.
| Constructor Summary | |
|---|---|
NoteCollectionCounts()
|
|
NoteCollectionCounts(NoteCollectionCounts other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(NoteCollectionCounts other)
|
NoteCollectionCounts |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NoteCollectionCounts that)
|
boolean |
equals(java.lang.Object that)
|
java.util.Map<java.lang.String,java.lang.Integer> |
getNotebookCounts()
|
int |
getNotebookCountsSize()
|
java.util.Map<java.lang.String,java.lang.Integer> |
getTagCounts()
|
int |
getTagCountsSize()
|
int |
getTrashCount()
|
int |
hashCode()
|
boolean |
isSetNotebookCounts()
Returns true if field notebookCounts is set (has been asigned a value) and false otherwise |
boolean |
isSetTagCounts()
Returns true if field tagCounts is set (has been asigned a value) and false otherwise |
boolean |
isSetTrashCount()
Returns true if field trashCount is set (has been asigned a value) and false otherwise |
void |
putToNotebookCounts(java.lang.String key,
int val)
|
void |
putToTagCounts(java.lang.String key,
int val)
|
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setNotebookCounts(java.util.Map<java.lang.String,java.lang.Integer> notebookCounts)
|
void |
setNotebookCountsIsSet(boolean value)
|
void |
setTagCounts(java.util.Map<java.lang.String,java.lang.Integer> tagCounts)
|
void |
setTagCountsIsSet(boolean value)
|
void |
setTrashCount(int trashCount)
|
void |
setTrashCountIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetNotebookCounts()
|
void |
unsetTagCounts()
|
void |
unsetTrashCount()
|
void |
validate()
|
void |
write(com.evernote.thrift.protocol.TProtocol oprot)
Writes the object to the given protocol. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoteCollectionCounts()
public NoteCollectionCounts(NoteCollectionCounts other)
| Method Detail |
|---|
public NoteCollectionCounts deepCopy()
com.evernote.thrift.TBase
deepCopy in interface com.evernote.thrift.TBase<NoteCollectionCounts>public void clear()
com.evernote.thrift.TBase
clear in interface com.evernote.thrift.TBase<NoteCollectionCounts>public int getNotebookCountsSize()
public void putToNotebookCounts(java.lang.String key,
int val)
public java.util.Map<java.lang.String,java.lang.Integer> getNotebookCounts()
public void setNotebookCounts(java.util.Map<java.lang.String,java.lang.Integer> notebookCounts)
public void unsetNotebookCounts()
public boolean isSetNotebookCounts()
public void setNotebookCountsIsSet(boolean value)
public int getTagCountsSize()
public void putToTagCounts(java.lang.String key,
int val)
public java.util.Map<java.lang.String,java.lang.Integer> getTagCounts()
public void setTagCounts(java.util.Map<java.lang.String,java.lang.Integer> tagCounts)
public void unsetTagCounts()
public boolean isSetTagCounts()
public void setTagCountsIsSet(boolean value)
public int getTrashCount()
public void setTrashCount(int trashCount)
public void unsetTrashCount()
public boolean isSetTrashCount()
public void setTrashCountIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(NoteCollectionCounts that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(NoteCollectionCounts other)
compareTo in interface java.lang.Comparable<NoteCollectionCounts>
public void read(com.evernote.thrift.protocol.TProtocol iprot)
throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read in interface com.evernote.thrift.TBase<NoteCollectionCounts>iprot - Input protocol
com.evernote.thrift.TException
public void write(com.evernote.thrift.protocol.TProtocol oprot)
throws com.evernote.thrift.TException
com.evernote.thrift.TBase
write in interface com.evernote.thrift.TBase<NoteCollectionCounts>oprot - Output protocol
com.evernote.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public void validate()
throws com.evernote.thrift.TException
com.evernote.thrift.TException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||