| java.lang.Object org.jmlspecs.models.JMLArrayOps
Method Summary | |
public static boolean | hasObjectIdentity(Object[] array, Object element) Search the array for the given element and tell if
that element's object identity occurs in the array. | public static boolean | hasObjectIdentity(Object[] array, Object element, int length) Search the array for the given element and tell if that
element's object identity occurs in the array from 0 the given
length-1. | public static boolean | hasValueEquals(Object[] array, Object element) Search the array for the given element and tell if an object
with value "equals" to the given element occurs in the array. | public static boolean | hasValueEquals(Object[] array, Object element, int length) Search the array for the given element and tell if an object
with value "equals" to the given element occurs in the array
from 0 the given length-1. | public static int | objectIdentityCount(Object[] array, Object element) Search the array for the given element and return how many
times that element's object identity occurs in the array. | public static int | objectIdentityCount(Object[] array, Object element, int length) Search the array for the given element and return how many
times that element's object identity occurs in the array from
0 the given length-1. | public static int | valueEqualsCount(Object[] array, Object element) Search the array for the given element and return how many
times an object with value "equals" to the given element occurs
in the array. | public static int | valueEqualsCount(Object[] array, Object element, int length) Search the array for the given element and return how many
times an object with value "equals" to the given element occurs
in the array from 0 the given length-1. |
|
|