Java in a Nutshell Online Quick Reference for Java 1.1

INTERFACE java.security.Principal

Availability: JDK 1.1

public abstract interface Principal {
   // Public Instance Methods
      public abstract boolean equals(Object another);  // Overrides Object.equals()
      public abstract String getName();
      public abstract int hashCode();  // Overrides Object.hashCode()
      public abstract String toString();  // Overrides Object.toString()
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.