public class IndexedEventSource extends Object
IndexedEvent
.
See IndexedEvent.getSource
.Modifier and Type | Field and Description |
---|---|
static IndexedEventSource |
DEFAULT
The default source with zero
identifier
for all events that do not support multiple sources. |
protected int |
id |
protected String |
name |
Constructor and Description |
---|
IndexedEventSource(int id,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether some other indexed event source has the same id.
|
int |
hashCode()
Returns a hash code value for this object.
|
int |
id()
Returns a source identifier.
|
String |
name()
Returns a string representation of the object.
|
String |
toString()
Returns a string representation of the object.
|
public static final IndexedEventSource DEFAULT
identifier
for all events that do not support multiple sources.protected final int id
protected final String name
public IndexedEventSource(int id, String name)
public final int id()
public final String name()
public final String toString()
public final boolean equals(Object o)
Copyright © 2002–2023 Devexperts LLC. All rights reserved.