|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.dataflow.SelectResult
public final class SelectResult
A bean representing the result of the select operation on a Select. It holds the index of the input channel, which was read, and the obtained value.
Field Summary | |
---|---|
private int |
index
|
private java.lang.Object |
value
|
Constructor Summary | |
SelectResult(int index, java.lang.Object value)
|
Method Summary | |
---|---|
boolean
|
equals(java.lang.Object obj)
|
int
|
getIndex()
|
java.lang.Object
|
getValue()
|
int
|
hashCode()
|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
private final int index
private final java.lang.Object value
Constructor Detail |
---|
SelectResult(int index, java.lang.Object value)
Method Detail |
---|
@java.lang.Overridepublic int hashCode() { public boolean equals(java.lang.Object obj)
public int getIndex()
public java.lang.Object getValue()
@java.lang.Override public int hashCode()
@java.lang.Override//noinspection AccessingNonPublicFieldOfAnotherObject public java.lang.String toString()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.