BrightSide Workbench Full Report + Source Code
org.turro.elephant.context.MetaList Class Reference
Inheritance diagram for org.turro.elephant.context.MetaList:
Collaboration diagram for org.turro.elephant.context.MetaList:

Public Member Functions

 MetaList (Collection<? extends String > c)
 
boolean addAll (Collection<? extends String > c)
 
boolean add (String e)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 30 of file MetaList.java.

Constructor & Destructor Documentation

◆ MetaList()

org.turro.elephant.context.MetaList.MetaList ( Collection<? extends String >  c)

Definition at line 32 of file MetaList.java.

32  {
33  super(c);
34  }

Member Function Documentation

◆ add()

boolean org.turro.elephant.context.MetaList.add ( String  e)

Definition at line 46 of file MetaList.java.

46  {
47  Iterator<String> it = iterator();
48  while(it.hasNext()) {
49  String meta = it.next();
50  if(isSameProperty(meta, e)) {
51  it.remove();
52  }
53  }
54  return super.add(e);
55  }
Here is the caller graph for this function:

◆ addAll()

boolean org.turro.elephant.context.MetaList.addAll ( Collection<? extends String >  c)

Definition at line 37 of file MetaList.java.

37  {
38  if(c == null) return false;
39  for(String s : c) {
40  add(s);
41  }
42  return true;
43  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: