GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BaseMax/JavaMyString: A tiny implementation of String class in java as final project.

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
com/asrez
com/asrez
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

JavaMyString

A tiny implementation of String class in java as final project.

Java MyString

Features

  • Tiny code (Suitable to learn from it)
  • Own class
  • Suitable performance
  • Support printf with variable arguments (Varargs)

Class/Library Structure

public MyString();
public MyString(char c);
public MyString(char c[]);
public MyString(MyString value);
public MyString(String value);
public int indexOf(int ch, int fromIndex);
public int indexOf(int ch);
public int indexOf(MyString str);
public int indexOf(MyString str, int fromIndex);
public int indexOf(String str);
public int indexOf(String str, int fromIndex);
public int lastIndexOf(int ch);
public int lastIndexOf(int ch, int fromIndex);
public int lastIndexOf(String str);
public int lastIndexOf(String str, int fromIndex);
public boolean equalsIgnoreCase(MyString other);
public boolean equalsIgnoreCase(String other);
public MyString toLowerCase();
public MyString toUpperCase();
public int compareTo(MyString value);
public int compareToIgnoreCase(MyString value);
public MyString trim();
public static MyString valueOf(boolean b);
public static String valueOf(Object obj);
public String toString();
public boolean equals(Object o);
public static void printf(char[] format, Object... arguments);
public static void printf(String format, Object... arguments);
public static void printf(MyString format, Object... arguments);
public char charAt(int index);
public MyString concat(MyString value);
public void display();
public int indexOf(char ch);
public int length();
public void setAt(int index, char c);
public MyString subString(int low, int high);
public MyString subString(int low);
public char[] toCharArray();

Build

$ javac com/asrez/main.java
$ java com.asrez.main

Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers.

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

About

A tiny implementation of String class in java as final project.

Topics

implementationimplementation-javaimplementation-stringjavajava-implementationjava-stringjava-string-builder-classjava-string-classjava-string-implementationjava-stringbuilderstring-implementation

Resources

Readme
GPL-3.0 license
Activity

Stars

6 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.