Ejemplo n.º 1
0
 @Override
 public Iterable<SNode> values() {
   return ((Iterable) Arrays.asList(myRegularMap.getValues()));
 }
Ejemplo n.º 2
0
 public MethodInfo[] getMethodInfos() {
   Object[] vals = methodInfos.getValues();
   MethodInfo[] infos = new MethodInfo[vals.length];
   System.arraycopy(vals, 0, infos, 0, vals.length);
   return infos;
 }
 public Iterable<SNode> values() {
   Iterator<SNode> regular = ((Iterable) Arrays.asList(myRegularMap.getValues())).iterator();
   Iterator<SNode> foreign = myForeignMap.values().iterator();
   Iterator<SNode> other = myOtherMap.values().iterator();
   return new MergeIterator<SNode>(regular, new MergeIterator<SNode>(foreign, other));
 }