Examples of ObjectEntry


Examples of org.drools.util.ObjectHashMap.ObjectEntry

        Entry[] entries = droolsQueryMemory.getTable();
        int entryCounter = 0;
        for ( Entry entry : entries ) {
            if ( entry != null ) {
                entryCounter++;
                ObjectEntry oEntry = (ObjectEntry) entry;
                DefaultFactHandle factHandle = (DefaultFactHandle) oEntry.getValue();
                assertNull( factHandle.getObject() );
            }
        }
    }
View Full Code Here

Examples of org.springframework.yarn.batch.repository.bindings.ExecutionContextType.ObjectEntry

  public static ExecutionContext convertExecutionContextType(ExecutionContextType executionContextType) {
    Map<String, Object> map = new ConcurrentHashMap<String, Object>();

    for(Entry<String, ObjectEntry> entry : executionContextType.map.entrySet()) {
      String key = entry.getKey();
      ObjectEntry objectEntry = entry.getValue();
      Object value = null;
      if(String.class.getCanonicalName().equals(objectEntry.clazz)) {
        value = objectEntry.obj;
      } else if(Integer.class.getCanonicalName().equals(objectEntry.clazz)) {
        value = objectEntry.obj;
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.