|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.bolson.vote.InstantProxy.Card
public static class InstantProxy.Card
| Field Summary | |
|---|---|
int[] |
proxies
proxies sorted by priority, vote goes to first which voted |
int |
uid
this voter's user id |
| Constructor Summary | |
|---|---|
InstantProxy.Card(int uidIn,
int[] proxiesIn)
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
static InstantProxy.Card[] |
readProxies(java.io.Reader inr)
Read proxy declarations from a text file. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int uid
public int[] proxies
| Constructor Detail |
|---|
public InstantProxy.Card(int uidIn,
int[] proxiesIn)
| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectpublic static InstantProxy.Card[] readProxies(java.io.Reader inr)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||