Examples of asList()


Examples of com.sun.xml.ws.api.message.MessageHeaders.asList()

        MessageHeaders hl = getHeaders();
        if (hl.hasHeaders() && headerTag == null) headerTag = new TagInfoset(envelopeTag.nsUri,"Header",envelopeTag.prefix,EMPTY_ATTS);
        if (headerTag != null) {
            headerTag.writeStart(writer);
            if (hl.hasHeaders()){
                for(Header h : hl.asList()){
                    h.writeTo(writer);
                }
            }
            writer.writeEndElement();
        }
View Full Code Here

Examples of gov.nasa.worldwind.geom.Sector.asList()

   @Override
   public double getCharacteristicDimensionObjectGeoforgeRenderableLayer() throws Exception
   {
      Sector sec = super.getSector();
     
        Iterator<? extends LatLon> itr = sec.asList().iterator();
       
        if (! itr.hasNext())
        {
            String str = "! itr.hasNext()";
            GfrRndSurfaceSectorTloAbs._LOGGER_.severe(str);
View Full Code Here

Examples of javax.management.AttributeList.asList()

   */
  protected Map<String, Long> getNio() {
    Map<String, Long> map = new HashMap<String, Long>(NIO_ATTRS.length);
    try {
      AttributeList attrs = ManagementFactory.getPlatformMBeanServer().getAttributes(directNio, NIO_ATTRS);
      for(Attribute attr: attrs.asList()) {
        map.put(attr.getName(), (Long)attr.getValue());
      }
    } catch (Exception e) {
      e.printStackTrace(System.err);
    }
View Full Code Here

Examples of javax.management.AttributeList.asList()

    }

    private void getAttributeValues (MBeanServerConnection mbsc, String oname, ObjectName objectName, ArrayList<String> attributes, ResmonResult rr) {
        try {
            AttributeList al = mbsc.getAttributes(objectName, attributes.toArray(new String[]{}));
            for (Attribute a : al.asList()) {
                getMetric(oname, a.getName(), a.getValue(), rr);
            }
        }
        catch (Exception e) {
            Jezebel.exceptionTraceLogger(e);
View Full Code Here

Examples of net.sourceforge.processdash.data.ListData.asList()

            this.context = context;
        }

        public List getTaggedData(String dataName) {
            ListData result = ListData.asListData(context.get(dataName));
            return (result == null ? null : result.asList());
        }

    }

}
View Full Code Here

Examples of org.amplafi.json.JSONArray.asList()

        if ( serialized instanceof JSONArray) {
            jsonArray = (JSONArray) serialized;
        } else {
            jsonArray = new JSONArray(ObjectUtils.toString(serialized, null));
        }
        for(Object o : jsonArray.asList()) {
            T element= (T) dataClassDefinition.getElementDataClassDefinition().deserialize(flowPropertyProvider, flowPropertyDefinition, o);
            collection.add(element);
        }
    }
    @Override
View Full Code Here

Examples of org.apache.commons.collections.map.ListOrderedMap.asList()

          // No eku with that number = no more ekus so break,
          log.debug("Read "+i+" extended key usages.");
          break;
        }
      }
      extendedKeyUsageOids = map.asList();
      if (extendedKeyUsageOids == null) {
        log.error("Extended key usage OIDs is null, there is a serious error with extendedkeyusage.properties");
        extendedKeyUsageOids = new ArrayList<String>();
      }
      extendedKeyUsageOidsAndNames = Collections.synchronizedMap(map);
View Full Code Here

Examples of org.apache.commons.collections.set.ListOrderedSet.asList()

    {
      Query q = entityManager.createQuery(query);

      ListOrderedSet tmp = new ListOrderedSet();
      tmp.addAll(q.getResultList());
      tmp1 = new Vector(tmp.asList());
    }
    catch (Exception ex)
    {
      facesMessages.add(ex.fillInStackTrace().toString());
      return ".";
View Full Code Here

Examples of org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet.asList()

        Assert.assertEquals(Region.Location.BOUNDARY, set.checkPoint(new Vector1D(5.0)));
        Assert.assertEquals(Region.Location.BOUNDARY, set.checkPoint(new Vector1D(11.0)));
        Assert.assertEquals( 1.0, set.getInf(), 1.0e-10);
        Assert.assertEquals(11.0, set.getSup(), 1.0e-10);

        List<Interval> list = set.asList();
        Assert.assertEquals(3, list.size());
        Assert.assertEquals( 1.0, list.get(0).getInf(), 1.0e-10);
        Assert.assertEquals( 3.0, list.get(0).getSup(), 1.0e-10);
        Assert.assertEquals( 5.0, list.get(1).getInf(), 1.0e-10);
        Assert.assertEquals( 6.0, list.get(1).getSup(), 1.0e-10);
View Full Code Here

Examples of org.apache.commons.math3.geometry.spherical.oned.ArcsSet.asList()

        ArcsSet plus1  = (ArcsSet) ((SubCircle) split1.getPlus()).getRemainingRegion();
        ArcsSet minus1 = (ArcsSet) ((SubCircle) split1.getMinus()).getRemainingRegion();
        Assert.assertEquals(1, plus1.asList().size());
        Assert.assertEquals(5.0, plus1.asList().get(0).getInf(), 1.0e-10);
        Assert.assertEquals(6.0, plus1.asList().get(0).getSup(), 1.0e-10);
        Assert.assertEquals(1, minus1.asList().size());
        Assert.assertEquals(1.0, minus1.asList().get(0).getInf(), 1.0e-10);
        Assert.assertEquals(3.0, minus1.asList().get(0).getSup(), 1.0e-10);

        SubCircle sc2 = create(Vector3D.PLUS_K, Vector3D.PLUS_I, Vector3D.PLUS_J, 1.0e-10, 1.0, 3.0);
        SplitSubHyperplane<Sphere2D> split2 = sc2.split(xzPlane);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.