public final class NotificationId extends Object implements Comparable<NotificationId>
Notification
.Modifier and Type | Method and Description |
---|---|
static NotificationId |
asNotificationId(long value)
Creates a
NotificationId from a long-value. |
int |
compareTo(NotificationId o) |
boolean |
equals(Object o) |
long |
getValue() |
int |
hashCode() |
static NotificationId |
parseNotificationId(String value)
Parses a
NotificationId from a string. |
String |
toString() |
public static NotificationId asNotificationId(long value)
NotificationId
from a long-value.public static NotificationId parseNotificationId(String value)
NotificationId
from a string.NotificationId
or null
if invalidpublic int compareTo(NotificationId o)
compareTo
in interface Comparable<NotificationId>
public long getValue()
Copyright © 2004-2011. All Rights Reserved.