Skip to content

Commit 078b9a9

Browse files
author
Thomas Miller
committed
Added documentation for new ContextList class.
1 parent 5e2396d commit 078b9a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/java/net/apnic/rdap/conformance/ContextList.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,24 @@
22

33
import java.util.ArrayList;
44

5+
/**
6+
* Represents a list of Context objects.
7+
*
8+
* Class is a wrapper around {@link java.util.ArrayList} that provides
9+
* convience functions for getting information about a list of Context objects.
10+
*
11+
* Note: This class does not implement any ArrayList constructors as they are
12+
* not needed at present.
13+
*/
514
public class ContextList
615
extends ArrayList<Context>
716
{
17+
/**
18+
* Indiciates if at least one Context object in this list has a failed
19+
* result.
20+
*
21+
* @return boolean if at least one Context has a failed result.
22+
*/
823
public boolean hasFailedResult()
924
{
1025
for(Context context : this)

0 commit comments

Comments
 (0)