|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Addable<T extends Addable<?>>
Objects implementing this interface provide a way to combine themselves in a defined way. All Number objects would logically be Addable objects if they were actually implementing this interface.
| Method Summary | |
|---|---|
T |
add(T other)
adds this instance to the other given one and returns the result; this entry itself remains untouched |
| Method Detail |
|---|
T add(T other)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||