Code example for IntBuffer

Methods: get

0
        } 
        return getString(0); 
    } 
 
    public int getCallID() { 
        return header.get(HEADER_CALL_ID_INDEX);
    } 
 
    public int getFunctionID() { 
        return header.get(HEADER_FUNCTION_ID_INDEX);
    } 
 
    public int getCallCount() { 
        return header.get(HEADER_CALL_COUNT_INDEX);
    } 
 
    public int getIntCount() { 
        return header.get(HEADER_INT_COUNT_INDEX);
    } 
 
    public int getLongCount() { 
        return header.get(HEADER_LONG_COUNT_INDEX);
    } 
 
    public int getFloatCount() { 
        return header.get(HEADER_FLOAT_COUNT_INDEX);
    } 
 
    public int getDoubleCount() { 
        return header.get(HEADER_DOUBLE_COUNT_INDEX);
    } 
 
    public int getBooleanCount() { 
        return header.get(HEADER_BOOLEAN_COUNT_INDEX);
    } 
 
    public int getStringCount() { 
        return header.get(HEADER_STRING_COUNT_INDEX);
    } 
 
    public String getString(int index) throws IOException {
        if (getStringCount() <= index) {
            throw new IOException("cannot get string at index " + index + " in call" + this);