jnr.ffi.util
Class Annotations

java.lang.Object
  extended by jnr.ffi.util.Annotations

public final class Annotations
extends Object

Utilities for collections of annotations


Field Summary
static Collection<Annotation> EMPTY_ANNOTATIONS
           
 
Method Summary
static Collection<Annotation> mergeAnnotations(Collection<Annotation>... collections)
           
static Collection<Annotation> mergeAnnotations(Collection<Annotation> a, Collection<Annotation> b)
           
static Collection<Annotation> sortedAnnotationCollection(Annotation[] annotations)
           
static Collection<Annotation> sortedAnnotationCollection(Collection<Annotation> annotations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ANNOTATIONS

public static final Collection<Annotation> EMPTY_ANNOTATIONS
Method Detail

sortedAnnotationCollection

public static Collection<Annotation> sortedAnnotationCollection(Annotation[] annotations)

sortedAnnotationCollection

public static Collection<Annotation> sortedAnnotationCollection(Collection<Annotation> annotations)

mergeAnnotations

public static final Collection<Annotation> mergeAnnotations(Collection<Annotation> a,
                                                            Collection<Annotation> b)

mergeAnnotations

public static final Collection<Annotation> mergeAnnotations(Collection<Annotation>... collections)


Copyright © 2013. All Rights Reserved.