Пример #1
0
  @Override
  public Chunk getChunkByID(String id) {
    Chunk result = ChunkImpl.nullChunk();

    if (this.availableConcepts.containsKey(id) == true) {
      result = this.availableConcepts.get(id);
    }

    return result;
  }
Пример #2
0
  @Override
  public Chunk get(String address) {
    Chunk result = ChunkImpl.nullChunk();

    if (this.data.containsKey(address) == true) {
      result = this.data.get(address);
    }

    return result;
  }