获取默认的视图前缀

@return
359203
protected String defaultViewPrefix() {
		String currentViewPrefix = "";
		RequestMapping rm = getClass().getAnnotation(RequestMapping.class);

		if (rm != null && rm.value().length > 0) {
			currentViewPrefix = rm.value()[0];
		}

		if ($.isEmpty(currentViewPrefix)) {
			currentViewPrefix = this.entityClass.getSimpleName();
		}

		return currentViewPrefix;
	}
71509
public String getDisplayName() {
		StringBuilder name = new StringBuilder();
		
		// add indentation representing tree structure of tasks
		for (int i = 0; i < this.getSubtaskLevel() -1; i++) {
			if (this.isLastSubtaskOnLevel[i]) {
				name.append("         ");
			}
			else {
				name.append("│      ");
			}
		}
		if (this.getSubtaskLevel() > 0) {
			if (this.isLastSubtaskOnLevel[this.getSubtaskLevel() - 1]) 
			{
				name.append("└──");
			}
			else {
				name.append("├──");
			}
		}
		
		// append class name
		name.append(this.getClass().getSimpleName());
		
		// append optional suffix
		name.append(" ").append(this.nameSuffix);
		
		return name.toString();
	}
1255839
public List<String> getAsStrings() {
        if (this.isEmpty()) {
            return Collections.emptyList();
        } else {
            final List<String> toStringVals = new ArrayList<>(this.size());
            for (final T i : this) {
                toStringVals.add(i == null ? "null" : i.toString());
            }
            return toStringVals;
        }
    }
512129
public String[] list()
    {
        String[] list =_file.list();
        if (list==null)
            return null;
        for (int i=list.length;i-->0;)
        {
            if (new File(_file,list[i]).isDirectory() &&
                !list[i].endsWith("/"))
                list[i]+="/";
        }
        return list;
    }
913574
public Enumeration<String> getKeys() {
        Set<String> handleKeys = properties.stringPropertyNames();
        return Collections.enumeration(handleKeys);
    }
1224296
public List<String> getSelected() {

        List<String> result = new ArrayList<String>();
        result.add(m_singleResult);
        return result;
    }
1168876
public String[] getHeaders() {
        String[] headers = new String[columns.getColumns().size()];
        Column column = null;
        for (int i = 0; i < columns.getColumns().size(); i++) {
            column = columns.getColumns().get(i);
            if (column.getHeader() != null && !column.getHeader().equals("")) {
                headers[i] = columns.getColumns().get(i).getHeader();
            } else {
                headers[i] = column.getName();
            }
        }
        return headers;
    }
1330213
@Override
	public E get() {
		if (originalElements.isEmpty()) {
			return null;
		}
		if (!priorityElements.isEmpty()) {
			return priorityElements.remove(0);
		}
		if (currentElements.size() <= originalElements.size()) {
			currentElements.addAll(originalElements);
		}
		int index = random.getInt(currentElements.size() - 1);
		return currentElements.remove(index);
	}
436874
public java.lang.Object getTypeaheadValues() {
		return (java.lang.Object) getStateHelper().eval(PropertyKeys.typeaheadValues);
	}
865540
public String getValue() {
		
		String results = super.getValue();
		
		try {
			Long.parseLong(super.getValue());
			results = addUnits(super.getValue());
		}catch(NumberFormatException e) {}
		
		return results;
	
	}
435147
public String[] getNames() {
        String[] headers = new String[columns.getColumns().size()];
        for (int i = 0; i < columns.getColumns().size(); i++) {
            headers[i] = columns.getColumns().get(i).getName();
        }
        return headers;
    }
194262
public String[] getIndexArr() {
		String[] indexArr = new String[this.from.size()];
		for (int i = 0; i < indexArr.length; i++) {
			indexArr[i] = this.from.get(i).getIndex();
		}
		return indexArr;
	}
985313
public K getCurrentKey()
    {
        lock.lock();
        try
        {
            Thread currentThread = Thread.currentThread();
            for (Entry<K,Thread> entry : threadMap.entrySet())
            {
                if (currentThread.equals(entry.getValue()))
                {
                    return entry.getKey();
                }
            }
            return null;
        }
        finally
        {
            lock.unlock();
        }
    }
712515
public Set<String> getKeySet() {
    final HashSet<String> keySet = new HashSet<>();

    keySet.addAll(localKeySet());

    if (this._parent != null) {
      keySet.addAll(this._parent.getKeySet());
    }

    return keySet;
  }
820751
public Header getHeader() {
        List<Header> list = this.getDescendants(Header.class);
        if (list.size() > 0) {
            return list.get(0);
        } else {
            return null;
        }
    }
993625
public Iterator<String> getBehaviorIds() {

        if (defaultApplication != null) {
            return defaultApplication.getBehaviorIds();
        }
        return Collections.EMPTY_LIST.iterator();
        
    }
299246
public <V> V getValue() {
        if (values == null || values.isEmpty()) {
            return null;
        }
        return (V)values.get(0);
    }