org.jwalk.test
Interface Interface


public interface Interface

Interface is an interface with four abstract method signatures. This is a standard test class, provided with the JWalk tool suite. Interface is provided solely in order to demonstrate JWalk's ability to recognise that it cannot exercise any interface type, which by definition cannot be instantiated or executed. It should be possible to inspect the protocols of this Interface.

Version:
1.0
Author:
Anthony Simons

Method Summary
 int getValue()
          Returns a notional integer value.
 int hashCode()
          Returns a hash code computed from this object.
 void setValue(int value)
          Sets a notional integer value.
 java.lang.String toString()
          Returns a string representation of this object.
 

Method Detail

getValue

int getValue()
Returns a notional integer value.

Returns:
an integer value.

setValue

void setValue(int value)
Sets a notional integer value.

Parameters:
value - the integer value to set.

toString

java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object.

hashCode

int hashCode()
Returns a hash code computed from this object.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code computed from this object.