Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.rsdn.patterns.mvc.samples
Class Switch

    java.lang.Object
      ru.rsdn.patterns.mvc.samples.Switch

    public class Switch

extends java.lang.Object

Переключатель

Field Summary
`private boolean` | `state`

Constructor Summary
`Switch()`
`Switch(boolean _state)` Конструктор

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`boolean` | `getState()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### state

    private boolean state

Constructor Detail

### Switch

    public Switch()

### Switch

    public Switch(boolean _state)

  Конструктор

  Parameters:
    `_state` - состояние

Method Detail

### getState

    public boolean getState()

  Returns:
    состояние

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD