public class Unit extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
duration
Unit duration, expressed in samples.
|
int |
index
Index position of this unit in the unit file.
|
long |
startTime
Unit start time, expressed in samples.
|
| Constructor and Description |
|---|
Unit(long startTime,
int duration,
int index) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
inspired by http://www.artima.com/lejava/articles/equality.html
|
int |
hashCode() |
boolean |
isEdgeUnit()
Determine whether the unit is an "edge" unit, i.e.
|
String |
toString() |
public final long startTime
public final int duration
public final int index
public boolean isEdgeUnit()
public boolean equals(Object other)
Copyright © 2000–2022 DFKI GmbH. All rights reserved.