Tabnine Logo
DeserializerStringRegistry.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
kieker.analysis.plugin.reader.newio.deserializer.DeserializerStringRegistry
constructor

Best Java code snippets using kieker.analysis.plugin.reader.newio.deserializer.DeserializerStringRegistry.<init> (Showing top 2 results out of 315)

origin: net.kieker-monitoring/kieker

private IRegistry<String> decodeStringRegistry(final ByteBuffer buffer) {
  final int numberOfEntries = VariableLengthEncoding.decodeInt(buffer);
  final List<String> values = new ArrayList<String>(numberOfEntries);
  for (int entryIndex = 0; entryIndex < numberOfEntries; entryIndex++) {
    final int entryLength = VariableLengthEncoding.decodeInt(buffer);
    final byte[] entryDataBytes = new byte[entryLength];
    buffer.get(entryDataBytes);
    final String entryData = new String(entryDataBytes, CHARSET);
    values.add(entryData);
  }
  return new DeserializerStringRegistry(values);
}
origin: kieker-monitoring/kieker

private ReaderRegistry<String> decodeStringRegistry(final ByteBuffer buffer) {
  final int numberOfEntries = VariableLengthEncoding.decodeInt(buffer);
  final List<String> values = new ArrayList<>(numberOfEntries);
  for (int entryIndex = 0; entryIndex < numberOfEntries; entryIndex++) {
    final int entryLength = VariableLengthEncoding.decodeInt(buffer);
    final byte[] entryDataBytes = new byte[entryLength];
    buffer.get(entryDataBytes);
    final String entryData = new String(entryDataBytes, CHARSET);
    values.add(entryData);
  }
  return new DeserializerStringRegistry(values);
}
kieker.analysis.plugin.reader.newio.deserializerDeserializerStringRegistry<init>

Javadoc

Creates a new deserializer string registry.

Popular methods of DeserializerStringRegistry

  • get
  • register

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now