S
- The class of the PrimitiveArray modeled by the modelpublic class PrimitiveArrayModel<S extends AbstractPrimitiveArray>
extends java.lang.Object
Constructor and Description |
---|
PrimitiveArrayModel(java.lang.Class<S> arrayClass,
long length)
Create a model of a PrimitiveArray instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Determine if this model is equal to another object.
|
java.lang.Class<S> |
getArrayClass()
Get the class of the PrimitiveArray modeled by this model
|
long |
getLength()
Get the length of the PrimitiveArray modeled by the model
|
public PrimitiveArrayModel(java.lang.Class<S> arrayClass, long length)
arrayClass
- The class of the PrimitiveArray modeled by the modellength
- The length of the PrimitiveArray modeled by the modelpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other objectpublic final java.lang.Class<S> getArrayClass()
public final long getLength()