Class AccountId

java.lang.Object
mapreduce.apps.friends.core.AccountId
All Implemented Interfaces:
java.lang.Comparable<AccountId>

@Immutable
public final class AccountId
extends java.lang.Object
implements java.lang.Comparable<AccountId>
Author:
Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
  • Constructor Summary

    Constructors 
    Constructor Description
    AccountId​(java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(AccountId other)  
    boolean equals​(java.lang.Object obj)  
    java.lang.String getName()  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AccountId

      public AccountId​(java.lang.String name)
  • Method Details

    • getName

      public java.lang.String getName()
    • compareTo

      public int compareTo​(AccountId other)
      Specified by:
      compareTo in interface java.lang.Comparable<AccountId>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object