All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jtopenlite.com.ibm.jtopenlite.command.program.object.OpenListOfObjectsFormat Maven / Gradle / Ivy

There is a newer version: 20.0.7
Show newest version
///////////////////////////////////////////////////////////////////////////////
//
// JTOpenLite
//
// Filename:  OpenListOfObjectsFormat.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 2011-2012 International Business Machines Corporation and
// others.  All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package com.ibm.jtopenlite.command.program.object;

import com.ibm.jtopenlite.*;
import com.ibm.jtopenlite.command.program.openlist.*;

public class OpenListOfObjectsFormat implements ListEntryFormat
{
  private final char[] charBuffer_ = new char[10];

  public OpenListOfObjectsFormat()
  {
  }

  private final byte[] lastLibraryBytes_ = new byte[10];
  private String lastLibrary_ = "          ";
  private final byte[] lastTypeBytes_ = new byte[10];
  private String lastType_ = "          ";

  private static boolean matches(final byte[] data, final int offset, final byte[] data2)
  {
    for (int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy