Skip to content

brianmichel/BRYHashCodeBuilder

 
 

Repository files navigation

BRYHashCodeBuilder

Utility for determining object hash codes, based on Apache Commons HashCodeBuilder.

- (NSUInteger)hash {
    return [[[[[BRYHashCodeBuilder builderWithInitialValue:17 multiplier:37]
               appendObject:self.name]
              appendBool:self.isHidden]
             appendFloat:self.width]
            appendInteger:self.index].hashCode;
}

License

Available for use under the MIT license: http://bryan.mit-license.org

About

Utility for determining object hash codes, based on Apache Commons HashCodeBuilder

Resources

License

Stars

Watchers

Forks

Packages

No packages published