- java.lang.Object
-
- jp.cafebabe.birthmarks.entities.Birthmark<T>
-
- All Implemented Interfaces:
Serializable
,Comparable<Birthmark>
,Iterable<T>
,Acceptor<T>
public class Birthmark<T> extends Object implements Acceptor<T>, Serializable, Iterable<T>, Comparable<Birthmark>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor<T> visitor)
ClassName
className()
int
compareTo(Birthmark other)
boolean
contains(String element)
int
elementCount()
Elements<T>
elements()
Birthmark<T>
filter(Predicate<T> predicate)
boolean
isSame(URI location)
boolean
isSame(BirthmarkType type)
boolean
isSame(ClassName name)
Iterator<T>
iterator()
URI
location()
Metadata
metadata()
Stream<T>
stream()
String
toString()
BirthmarkType
type()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
className
public ClassName className()
-
contains
public boolean contains(String element)
-
elementCount
public int elementCount()
-
isSame
public boolean isSame(ClassName name)
-
isSame
public boolean isSame(URI location)
-
isSame
public boolean isSame(BirthmarkType type)
-
location
public URI location()
-
metadata
public Metadata metadata()
-
type
public BirthmarkType type()
-
compareTo
public int compareTo(Birthmark other)
- Specified by:
compareTo
in interfaceComparable<T>
-
-