Examples of keySet()


Examples of com.sleepycat.bdb.collection.StoredSortedMap.keySet()

        StoredSortedMap other =
            (StoredSortedMap) StoredCollections.dirtyReadMap(map);
        assertTrue(other.isDirtyReadEnabled());
        assertTrue(((StoredContainer) other.values()).isDirtyReadEnabled());
        assertTrue(((StoredContainer) other.keySet()).isDirtyReadEnabled());
        assertTrue(((StoredContainer) other.entrySet()).isDirtyReadEnabled());
        assertTrue(!map.isDirtyReadEnabled());
        assertTrue(!((StoredContainer) map.values()).isDirtyReadEnabled());
        assertTrue(!((StoredContainer) map.keySet()).isDirtyReadEnabled());
        assertTrue(!((StoredContainer) map.entrySet()).isDirtyReadEnabled());

Examples of com.sleepycat.collections.StoredSortedMap.keySet()

        StoredSortedMap other = (StoredSortedMap)
            StoredCollections.configuredMap
                (map, CursorConfig.READ_UNCOMMITTED);
        assertTrue(isReadUncommitted(other));
        assertTrue(isReadUncommitted(other.values()));
        assertTrue(isReadUncommitted(other.keySet()));
        assertTrue(isReadUncommitted(other.entrySet()));
        assertTrue(!isReadUncommitted(map));
        assertTrue(!isReadUncommitted(map.values()));
        assertTrue(!isReadUncommitted(map.keySet()));
        assertTrue(!isReadUncommitted(map.entrySet()));

Examples of com.splunk.Entity.keySet()

    // Implement createSheet directly in order to dynamically construct
    // based on the contents of the stanza.
    @Override protected Sheet createSheet() {
        Entity entity = (Entity)value;
        Sheet.Set props = Sheet.createPropertiesSet();
        for (String key : entity.keySet()) {
            if (key.equals("eai:acl") || key.equals("eai:attributes"))
                continue;
            props.put(new StanzaProperty(entity, key));
        }
        Sheet sheet = Sheet.createDefault();

Examples of com.springsource.insight.intercept.operation.OperationMap.keySet()

        OperationMap actualParams = op.get("params", OperationMap.class);
        if (actualParams != null) {   // OK if missing - means 'collectExtraInformation' is FALSE
            OperationMap expectedParams = JdbcDriverConnectOperationCollectionAspect.addConnectionProperties(new Operation(), props);
            assertEquals("Mismatched parameters size", expectedParams.size(), actualParams.size());
            for (String key : expectedParams.keySet()) {
                Object expValue = expectedParams.get(key), actValue = actualParams.get(key);
                assertEquals("Mismatched value for parameter=" + key, expValue, actValue);
            }
        }

Examples of com.sun.net.httpserver.Headers.keySet()

            System.out.printf("RemoteAddress: %s\n", he.getRemoteAddress());
            System.out.printf("LocalAddress: %s\n", he.getLocalAddress());
            System.out.printf("ContextPath: %s\n", he.getHttpContext().getPath());
            System.out.printf("ContextAttributes: %s\n", he.getHttpContext().getAttributes());
            Headers headers = he.getRequestHeaders();
            for(String key : headers.keySet()) {
                System.out.printf("Header(%s): %s\n", key, headers.getFirst(key));
            }
            return queryParams;
         }
        String getRequestFile(URI requestURI) {

Examples of com.sun.sgs.app.util.ScalableHashMap.keySet()

  final Set controlKeys = control.keySet();
  txnScheduler.runTask(
      new TestAbstractKernelRunnable() {
    public void run() throws Exception {
        Map test = new ScalableHashMap();
        Set keys = test.keySet();
        assertEquals(controlKeys, keys);
        assertIteratorDone(keys.iterator());
        assertEquals(controlKeys.hashCode(), keys.hashCode());
        for (int i = 0; i < 50; i++) {
      int j = RANDOM.nextInt();

Examples of com.sun.tools.javac.util.Options.keySet()

        return discoveredProcs.iterator().hasNext();
    }

    private Map<String, String> initProcessorOptions(Context context) {
        Options options = Options.instance(context);
        Set<String> keySet = options.keySet();
        Map<String, String> tempOptions = new LinkedHashMap<String, String>();

        for(String key : keySet) {
            if (key.startsWith("-A") && key.length() > 2) {
                int sepIndex = key.indexOf('=');

Examples of com.tangosol.net.NamedCache.keySet()

    writerA.put("C", "C");
    writerA.put("D", "D");

    Filter f = new EqualsFilter(new FirstCharExtractor(), "A");
   
    Assert.assertEquals("[A]", writerA.keySet(f).toString());
    Assert.assertEquals("[A]", dirtyA.keySet(f).toString());
    Assert.assertEquals("[]", rrA.keySet(f).toString());
    Assert.assertEquals("[]", rcA.keySet(f).toString());
   
    writer.commit();

Examples of com.typesafe.config.ConfigObject.keySet()

    Map<String, String> confMap = Config.getConfigMap();
    ConfigObject c = Config.getConfig().getObject("security.protected");
    ConfigValue apiSec = Config.getConfig().getValue("security.api");
    boolean enableRestFilter = apiSec != null && "enabled".equals(apiSec.unwrapped());

    for (String key : c.keySet()) {
      ConfigValue cv = c.get(key);
      ArrayList<String> patterns = new ArrayList<String>();
      ArrayList<String> roles = new ArrayList<String>();

      // if API security is disabled don't add any API related patterns

Examples of com.valhalla.jbother.jabber.BuddyStatus.keySet()

        server = parts[1];
      }
    }

    String resources = "";
    Iterator i = buddy.keySet().iterator();
    int resourceCount = 0;

    while (i.hasNext()) {
      String key = (String) i.next();
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.