/** * Computes a hash code from attributes: {@code name}, {@code index}, {@code componentType}, {@code componentCount}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + name.hashCode(); h += (h << 5) + index; h += (h << 5) + Objects.hashCode(componentType); h += (h << 5) + componentCount; return h; }
/** * Computes a hash code from attributes: {@code name}, {@code componentType}, {@code componentCount}, {@code componentSize}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + name.hashCode(); h += (h << 5) + Objects.hashCode(componentType); h += (h << 5) + Objects.hashCode(componentCount); h += (h << 5) + Objects.hashCode(componentSize); return h; }
/** * Computes a hash code from attributes: {@code name}, {@code requiredComponentType}, {@code requiredComponentCount}, {@code requiredComponentSize}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + name.hashCode(); h += (h << 5) + Objects.hashCode(requiredComponentType); h += (h << 5) + Objects.hashCode(requiredComponentCount); h += (h << 5) + Objects.hashCode(requiredComponentSize); return h; }
/** * Computes a hash code from attributes: {@code name}, {@code requiredComponentType}, {@code requiredComponentCount}, {@code requiredComponentSize}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + name.hashCode(); h += (h << 5) + Objects.hashCode(requiredComponentType); h += (h << 5) + Objects.hashCode(requiredComponentCount); h += (h << 5) + Objects.hashCode(requiredComponentSize); return h; }
/** * Computes a hash code from attributes: {@code name}, {@code componentType}, {@code componentCount}, {@code componentSizeBits}, {@code componentSizeOctets}, {@code sizeOctets}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + name.hashCode(); h += (h << 5) + componentType.hashCode(); h += (h << 5) + componentCount; h += (h << 5) + componentSizeBits; h += (h << 5) + componentSizeOctets; h += (h << 5) + sizeOctets; return h; }
/** * Computes a hash code from attributes: {@code name}, {@code componentType}, {@code componentCount}, {@code componentSizeBits}, {@code componentSizeOctets}, {@code sizeOctets}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + name.hashCode(); h += (h << 5) + componentType.hashCode(); h += (h << 5) + componentCount; h += (h << 5) + componentSizeBits; h += (h << 5) + componentSizeOctets; h += (h << 5) + sizeOctets; return h; }