/** * Computes a hash code from attributes: {@code schema}, {@code data}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + schema.hashCode(); h += (h << 5) + Arrays.hashCode(data); return h; }
/** * Computes a hash code from attributes: {@code schemaIdentifier}, {@code requiredAttributes}, {@code optionalAttributes}, {@code requiredCoordinateSystem}, {@code allowExtraAttributes}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + schemaIdentifier.hashCode(); h += (h << 5) + (requiredAttributes().hashCode()); h += (h << 5) + (optionalAttributes().hashCode()); h += (h << 5) + Objects.hashCode(requiredCoordinateSystem); h += (h << 5) + Boolean.hashCode(allowExtraAttributes); return h; }
/** * Computes a hash code from attributes: {@code triangles}, {@code vertexCount}, {@code schemaIdentifier}, {@code coordinateSystem}, {@code attributesInOrder}, {@code attributesByName}, {@code metaCount}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + triangles.hashCode(); h += (h << 5) + Long.hashCode(vertexCount); h += (h << 5) + schemaIdentifier.hashCode(); h += (h << 5) + coordinateSystem.hashCode(); h += (h << 5) + (attributesInOrder().hashCode()); h += (h << 5) + attributesByName.hashCode(); h += (h << 5) + Long.hashCode(metaCount); return h; }
/** * Computes a hash code from attributes: {@code schemaIdentifier}, {@code requiredAttributes}, {@code optionalAttributes}, {@code requiredCoordinateSystem}, {@code allowExtraAttributes}, {@code requireTriangles}, {@code requireVertices}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + schemaIdentifier.hashCode(); h += (h << 5) + (requiredAttributes().hashCode()); h += (h << 5) + (optionalAttributes().hashCode()); h += (h << 5) + Objects.hashCode(requiredCoordinateSystem); h += (h << 5) + allowExtraAttributes.hashCode(); h += (h << 5) + requireTriangles.hashCode(); h += (h << 5) + requireVertices.hashCode(); return h; }