|
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.Object org.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
- meta
values
- values
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- compared to object
true
if equal, else false
public int hashCode()
hashCode
in interface Selfless
hashCode
in class java.lang.Object
public <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.