|
ref_send API 2.17 defensive programming in Java |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ref_send.scope.Scope<T>
T - nominal typepublic class Scope<T>
A { name : value } record.
| Field Summary | |
|---|---|
Layout<T> |
meta
structural type |
ConstArray<?> |
values
each corresponding value |
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object o)
Is the given object equal to this one? |
|
|
get(java.lang.String name)
Gets the corresponding value. |
|
int |
hashCode()
Calculates the hash code. |
|
static
|
make(Layout<T> meta,
ConstArray<?> values)
Constructs an instance. |
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Layout<T> meta
public final ConstArray<?> values
| Method Detail |
|---|
public static <T> Scope<T> make(Layout<T> meta,
ConstArray<?> values)
meta - metavalues - valuespublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - compared to object
true if equal, else falsepublic int hashCode()
hashCode in interface SelflesshashCode in class java.lang.Objectpublic <R> R get(java.lang.String name)
name - name to lookup
null if none
|
ref_send API 2.17 defensive programming in Java |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.